]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/regconf.h
Added ODBC database classes and sample from RemStar (sample needs work for wxWin 2)
[wxWidgets.git] / include / wx / msw / regconf.h
index 387456ff1e4de1dec82919be8454486b35aae645..38f5ba608cdda6f22c31997ef571b46e82aa9919 100644 (file)
 #ifndef   _REGCONF_H
 #define   _REGCONF_H
 
+#ifdef __GNUG__
+#pragma interface "regconf.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // wxRegConfig
 // ----------------------------------------------------------------------------
@@ -38,6 +42,15 @@ public:
   virtual bool GetFirstEntry(wxString& str, long& lIndex);
   virtual bool GetNextEntry (wxString& str, long& lIndex);
 
+  // tests for existence
+  virtual bool HasGroup(const wxString& strName) const;
+  virtual bool HasEntry(const wxString& strName) const;
+
+    // get number of entries/subgroups in the current group, with or without
+    // it's subgroups
+  virtual uint GetNumberOfEntries(bool bRecursive = FALSE) const = 0;
+  virtual uint GetNumberOfGroups(bool bRecursive = FALSE) const = 0;
+
   // read/write
   virtual bool Read(wxString&, const char *, const char * = 0) const;
   virtual bool Read(long&, const char *, long = 0) const;