public:
wxResourceSymbolTable();
~wxResourceSymbolTable();
-
-// Operations
+
+ // Operations
bool ReadIncludeFile(const wxString& filename);
bool WriteIncludeFile(const wxString& filename);
void Clear();
- bool AddSymbol(const wxString& symbol, long id);
-
-// Accessors
- wxString GetSymbolForId(long id);
- long GetIdForSymbol(const wxString& symbol);
+ bool AddSymbol(const wxString& symbol, int id);
+ bool RemoveSymbol(const wxString& symbol);
+ bool RemoveSymbol(int id);
+ void AddStandardSymbols();
+ bool FillComboBox(wxComboBox* comboBox);
+
+ // Accessors
+ wxString GetSymbolForId(int id);
+ int GetIdForSymbol(const wxString& symbol);
bool SymbolExists(const wxString& symbol) const;
-
-// Implementation
-
-// Member variables
+ bool IdExists(int id) ;
+ bool IsStandardSymbol(const wxString& symbol) const;
+ int FindHighestId() ;
+
+ // Implementation
+
+ // Member variables
protected:
wxHashTable m_hashTable;
};
#endif
- // _SYMBTABL_H_
+// _SYMBTABL_H_