]>
git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/symbtabl.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxResourceSymbolTable class for storing/reading #defines
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
16 #pragma interface "symbtabl.h"
19 class wxResourceSymbolTable
: public wxObject
22 wxResourceSymbolTable();
23 ~wxResourceSymbolTable();
26 bool ReadIncludeFile(const wxString
& filename
);
27 bool WriteIncludeFile(const wxString
& filename
);
29 bool AddSymbol(const wxString
& symbol
, long id
);
32 wxString
GetSymbolForId(long id
);
33 long GetIdForSymbol(const wxString
& symbol
);
34 bool SymbolExists(const wxString
& symbol
) const;
40 wxHashTable m_hashTable
;