/////////////////////////////////////////////////////////////////////////////
// Name: encconv.h
-// Purpose: documentation for wxEncodingConverter class
+// Purpose: interface of wxEncodingConverter
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@library{wxbase}
@category{misc}
- @seealso
- wxFontMapper, wxMBConv, @ref overview_nonenglishoverview "Writing non-English
- applications"
+ @see wxFontMapper, wxMBConv, @ref overview_nonenglishoverview "Writing
+ non-English applications"
*/
class wxEncodingConverter : public wxObject
{
/**
Convert wxString and return new wxString object.
*/
- bool Convert(const char* input, char* output);
- bool Convert(const wchar_t* input, wchar_t* output);
- bool Convert(const char* input, wchar_t* output);
- bool Convert(const wchar_t* input, char* output);
- bool Convert(char* str);
- bool Convert(wchar_t* str);
- wxString Convert(const wxString& input);
+ bool Convert(const char* input, char* output) const;
+ const bool Convert(const wchar_t* input, wchar_t* output) const;
+ const bool Convert(const char* input, wchar_t* output) const;
+ const bool Convert(const wchar_t* input, char* output) const;
+ const bool Convert(char* str) const;
+ const bool Convert(wchar_t* str) const;
+ const wxString Convert(const wxString& input) const;
//@}
/**
bool Init(wxFontEncoding input_enc, wxFontEncoding output_enc,
int method = wxCONVERT_STRICT);
};
+