X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03f68f123bc79f23ff77821cfe80bfa76b0e68c4..b5b49e42939fd7ef098241733648b534f71b526c:/utils/dialoged/src/symbtabl.h?ds=sidebyside diff --git a/utils/dialoged/src/symbtabl.h b/utils/dialoged/src/symbtabl.h index e231447fab..b95bc9fa9e 100644 --- a/utils/dialoged/src/symbtabl.h +++ b/utils/dialoged/src/symbtabl.h @@ -21,25 +21,32 @@ class wxResourceSymbolTable: public wxObject 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_