summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Registry.hxx.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-16 17:38:25 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-16 17:38:25 (GMT)
commit9b486bacfc98d6878b0e48f0136653c98cc5b385 (patch)
tree384840c4089ad1c8ffc927f9cfb831318ca3adab /Source/kwsys/Registry.hxx.in
parentcd510bf3ac1599b183b14e954dc273eae874d6a3 (diff)
downloadCMake-9b486bacfc98d6878b0e48f0136653c98cc5b385.zip
CMake-9b486bacfc98d6878b0e48f0136653c98cc5b385.tar.gz
CMake-9b486bacfc98d6878b0e48f0136653c98cc5b385.tar.bz2
ENH: Modify API a little bit to allow arbitrary length values. Encode certain characters. Rename UNIX registry to FILE registry. More testing
Diffstat (limited to 'Source/kwsys/Registry.hxx.in')
-rw-r--r--Source/kwsys/Registry.hxx.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/Registry.hxx.in b/Source/kwsys/Registry.hxx.in
index e9ca1e5..c0590f5 100644
--- a/Source/kwsys/Registry.hxx.in
+++ b/Source/kwsys/Registry.hxx.in
@@ -39,19 +39,19 @@ public:
#ifdef _WIN32
WIN32_REGISTRY,
#endif
- UNIX_REGISTRY
+ FILE_REGISTRY
};
#ifdef _WIN32
Registry(RegistryType registryType = WIN32_REGISTRY);
#else
- Registry(RegistryType registryType = UNIX_REGISTRY);
+ Registry(RegistryType registryType = FILE_REGISTRY);
#endif
virtual ~Registry();
//! Read a value from the registry.
- bool ReadValue(const char *subkey, const char *key, char *value);
+ bool ReadValue(const char *subkey, const char *key, const char **value);
//! Delete a key from the registry.
bool DeleteKey(const char *subkey, const char *key);