X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba4130573b01a7427f8fdd8349093f830ddfbd9..3dccf96eabc68d95839782d35e6193855f007fd2:/include/wx/msw/iniconf.h diff --git a/include/wx/msw/iniconf.h b/include/wx/msw/iniconf.h index 4fa4405a6d..948825de34 100644 --- a/include/wx/msw/iniconf.h +++ b/include/wx/msw/iniconf.h @@ -2,7 +2,7 @@ // Name: include/wx/msw/iniconf.h // Purpose: INI-file based wxConfigBase implementation // Author: Vadim Zeitlin -// Modified by: +// Modified by: // Created: 27.07.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin @@ -56,21 +56,21 @@ public: virtual bool GetFirstEntry(wxString& str, long& lIndex) const; virtual bool GetNextEntry (wxString& str, long& lIndex) const; - virtual size_t GetNumberOfEntries(bool bRecursive = FALSE) const; - virtual size_t GetNumberOfGroups(bool bRecursive = FALSE) const; + virtual size_t GetNumberOfEntries(bool bRecursive = false) const; + virtual size_t GetNumberOfGroups(bool bRecursive = false) const; virtual bool HasGroup(const wxString& strName) const; virtual bool HasEntry(const wxString& strName) const; - // return TRUE if the current group is empty + // return true if the current group is empty bool IsEmpty() const; - virtual bool Flush(bool bCurrentOnly = FALSE); + virtual bool Flush(bool bCurrentOnly = false); virtual bool RenameEntry(const wxString& oldName, const wxString& newName); virtual bool RenameGroup(const wxString& oldName, const wxString& newName); - virtual bool DeleteEntry(const wxString& Key, bool bGroupIfEmptyAlso); + virtual bool DeleteEntry(const wxString& Key, bool bGroupIfEmptyAlso = true); virtual bool DeleteGroup(const wxString& szKey); virtual bool DeleteAll(); @@ -90,6 +90,9 @@ private: wxString m_strLocalFilename; // name of the private INI file wxString m_strGroup, // current group in appname.ini file m_strPath; // the rest of the path (no trailing '_'!) + + DECLARE_NO_COPY_CLASS(wxIniConfig) + DECLARE_ABSTRACT_CLASS(wxIniConfig) }; #endif //_INICONF_H