X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03f68f123bc79f23ff77821cfe80bfa76b0e68c4..3684ade82ec6f5fb7ff72341e26060b6ea0793c8:/utils/dialoged/src/symbtabl.h diff --git a/utils/dialoged/src/symbtabl.h b/utils/dialoged/src/symbtabl.h index e231447fab..1b4657a5ec 100644 --- a/utils/dialoged/src/symbtabl.h +++ b/utils/dialoged/src/symbtabl.h @@ -12,7 +12,7 @@ #ifndef _SYMBTABL_H_ #define _SYMBTABL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "symbtabl.h" #endif @@ -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_