Logo Search packages:      
Sourcecode: ibus-unikey version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes

CMacroTable Class Reference

Collaboration diagram for CMacroTable:
Collaboration graph

List of all members.

Public Member Functions

int addItem (const char *item, int charset)
int addItem (const void *key, const void *text, int charset)
int getCount ()
const StdVnChar * getKey (int idx)
const StdVnChar * getText (int idx)
void init ()
int loadFromFile (const char *fname)
const StdVnChar * lookup (StdVnChar *key)
void resetContent ()
int writeToFile (const char *fname)

Protected Member Functions

bool readHeader (FILE *f, int &version)
void writeHeader (FILE *f)

Protected Attributes

int m_count
char m_macroMem [MACRO_MEM_SIZE]
int m_memSize
int m_occupied
MacroDef m_table [MAX_MACRO_ITEMS]

Detailed Description

Definition at line 52 of file mactab.h.

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

Generated by  Doxygen 1.6.0   Back to index