summaryrefslogtreecommitdiff
path: root/ACE/ace/Configuration.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-05-24 18:27:24 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-05-24 18:27:24 +0000
commit87c12834b731411cddf8c16a9df42478ba35c1d8 (patch)
tree6d965b4d798a0d712e17e136c7cb12a2e9aa9022 /ACE/ace/Configuration.h
parentadb7e674b210a1b59146a0dfa6c5aef4451c0fe0 (diff)
downloadATCD-87c12834b731411cddf8c16a9df42478ba35c1d8.tar.gz
Sun May 24 18:27:05 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Configuration.{h,cpp} With WinCE RegKeyDelete just does a recursive delete, on regular Windows RegKeyDelete only works when there are no subkeys. Added WinCE specific code to check if we have subkeys, if yes, then return with an error
Diffstat (limited to 'ACE/ace/Configuration.h')
-rw-r--r--ACE/ace/Configuration.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Configuration.h b/ACE/ace/Configuration.h
index 5126aeed622..bb30590ff05 100644
--- a/ACE/ace/Configuration.h
+++ b/ACE/ace/Configuration.h
@@ -177,7 +177,7 @@ public:
/**
* @param key Section key to remove the named section from.
* @param sub_section Name of the section to remove.
- * @param recursive If non zero, any subkeys below @a sub_section are
+ * @param recursive If true, any subkeys below @a sub_section are
* removed as well.
*
* @retval 0 for success.
@@ -185,7 +185,7 @@ public:
*/
virtual int remove_section (const ACE_Configuration_Section_Key &key,
const ACE_TCHAR *sub_section,
- int recursive) = 0;
+ bool recursive) = 0;
/**
* Enumerates through the values in a section.
@@ -483,7 +483,7 @@ public:
virtual int remove_section (const ACE_Configuration_Section_Key& key,
const ACE_TCHAR* sub_section,
- int recursive);
+ bool recursive);
virtual int enumerate_values (const ACE_Configuration_Section_Key& key,
int index,
@@ -805,7 +805,7 @@ public:
virtual int remove_section (const ACE_Configuration_Section_Key& key,
const ACE_TCHAR* sub_section,
- int recursive);
+ bool recursive);
virtual int enumerate_values (const ACE_Configuration_Section_Key& key,
int index,