Logo Search packages:      
Sourcecode: einstein version File versions  Download package

Resource Class Reference

#include <resources.h>

List of all members.

Detailed Description

Internationalized resources. Collection of localized data (ResVariant) with single name.

Definition at line 226 of file resources.h.

Public Member Functions

void addVariant (ResourceFile *file, int i18nScore, const ResourceFile::DirectoryEntry &entry)
ResourceStreamcreateStream (int variant=0)
void delRef (void *data)
void getData (Buffer &buffer, int variant=0)
const std::wstring & getName () const
 Get name of this resource.
void * getRef (int *size, int variant=0)
void * getRef (int variant=0)
long getSize (int variant=0)
ResVariantgetVariant (int variant=0)
int getVariantsCount () const
 Get number of variants.
 Resource (ResourceFile *file, int i18nScore, const ResourceFile::DirectoryEntry &entry, const std::wstring &name)

Private Types

typedef std::vector< ResVariant * > Variants

Private Attributes

std::wstring name
Variants variants

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index