[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/common/wxPlatform.h File Reference

#include <wx/wxchar.h>
#include <wx/string.h>
#include "utils.h"

Include dependency graph for wxPlatform.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


namespace  utils


template<class str>
str wxQuoteStringInternal (const str &arg, const str &quotechar, const str &replacements)
template<class str>
str wxQuoteString (const str &arg)
 Try to escape special chars on windows and linux.
template<class str>
str wxQuoteFilename (const str &arg)
 Quote a filename, so that it is surrounded by "".
wxString doubleTowxString (double d, int digits=-1)

Function Documentation

wxString doubleTowxString double  d,
int  digits = -1

template<class str>
str wxQuoteFilename const str &  arg  ) 

Quote a filename, so that it is surrounded by "".

I don't know the escape char for windows

template<class str>
str wxQuoteString const str &  arg  ) 

Try to escape special chars on windows and linux.

: I'm quite sure that this routine doesn't replace some important shell chars I don't know of. This could lead to nasty behaviour and maybe even security holes.

template<class str>
str wxQuoteStringInternal const str &  arg,
const str &  quotechar,
const str &  replacements

Generated on Mon Sep 20 01:01:28 2010 for Hugintrunk by doxygen