]>
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
, int id
);
30 bool RemoveSymbol(const wxString
& symbol
);
31 bool RemoveSymbol(int id
);
32 void AddStandardSymbols();
33 bool FillComboBox(wxComboBox
* comboBox
);
36 wxString
GetSymbolForId(int id
);
37 int GetIdForSymbol(const wxString
& symbol
);
38 bool SymbolExists(const wxString
& symbol
) const;
39 bool IdExists(int id
) ;
40 bool IsStandardSymbol(const wxString
& symbol
) const;
47 wxHashTable m_hashTable
;