\wxheading{Derived from}
-No base class
+\helpref{wxObject}{wxobject}
\wxheading{Include files}
bool m_isDirty; // if true, we have unsaved changes
DECLARE_NO_COPY_CLASS(wxFileConfig)
+ DECLARE_ABSTRACT_CLASS(wxFileConfig)
};
#endif
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
virtual bool DoWriteLong(const wxString& key, long lValue);
private:
- // no copy ctor/assignment operator
- wxRegConfig(const wxRegConfig&);
- wxRegConfig& operator=(const wxRegConfig&);
-
// these keys are opened during all lifetime of wxRegConfig object
wxRegKey m_keyLocalRoot, m_keyLocal,
m_keyGlobalRoot, m_keyGlobal;
// current path (not '/' terminated)
wxString m_strPath;
+
+ DECLARE_NO_COPY_CLASS(wxRegConfig)
+ DECLARE_ABSTRACT_CLASS(wxRegConfig)
};
#endif //_REGCONF_H
virtual bool DoWriteLong(const wxString& key, long lValue);
private:
- // no copy ctor/assignment operator
- wxPrefConfig(const wxPrefConfig&);
- wxPrefConfig& operator=(const wxPrefConfig&);
-
// current path (not '/' terminated)
wxString m_strPath;
// current group modified ?
bool m_modGroup;
+
+ DECLARE_NO_COPY_CLASS(wxPrefConfig)
+ DECLARE_ABSTRACT_CLASS(wxPrefConfig)
};
#endif // _PREFCONF_H_
// ----------------------------------------------------------------------------
// wxConfigBase
// ----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxConfigBase, wxObject)
// Not all args will always be used by derived classes, but including them all
// in each class ensures compatibility.
// ----------------------------------------------------------------------------
// ctor
// ----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxFileConfig, wxConfigBase)
void wxFileConfig::Init()
{
// ----------------------------------------------------------------------------
// ctor & dtor
// ----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxIniConfig, wxConfigBase)
wxIniConfig::wxIniConfig(const wxString& strAppName,
const wxString& strVendor,
// ----------------------------------------------------------------------------
// ctor/dtor
// ----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxRegConfig, wxConfigBase)
// create the config object which stores its data under HKCU\vendor\app and, if
// style & wxCONFIG_USE_GLOBAL_FILE, under HKLM\vendor\app
// ----------------------------------------------------------------------------
// ctor/dtor
// ----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxPrefConfig, wxConfigBase)
wxPrefConfig::wxPrefConfig(const wxString& appName, const wxString& vendorName,
const wxString& strLocal, const wxString& strGlobal,