Version: 2.9.4
Static Public Member Functions
wxMsgCatalog Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/translation.h>


Detailed Description

Represents a loaded translations message catalog.

This class should only be used directly by wxTranslationsLoader implementations.

Since:
2.9.1

Static Public Member Functions

static wxMsgCatalogCreateFromFile (const wxString &filename, const wxString &domain)
 Creates catalog loaded from a MO file.
static wxMsgCatalogCreateFromData (const wxScopedCharBuffer &data, const wxString &domain)
 Creates catalog from MO file data in memory buffer.

List of all members.


Member Function Documentation

static wxMsgCatalog* wxMsgCatalog::CreateFromData ( const wxScopedCharBuffer data,
const wxString domain 
) [static]

Creates catalog from MO file data in memory buffer.

Parameters:
dataData in MO file format.
domainCatalog's domain. This typically matches the filename.
Returns:
Successfully loaded catalog or NULL on failure.
static wxMsgCatalog* wxMsgCatalog::CreateFromFile ( const wxString filename,
const wxString domain 
) [static]

Creates catalog loaded from a MO file.

Parameters:
filenamePath to the MO file to load.
domainCatalog's domain. This typically matches the filename.
Returns:
Successfully loaded catalog or NULL on failure.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines