summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-04-01 18:34:38 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-04-01 18:34:38 (GMT)
commit92897bf3a8df0def74a3af36015dc3d7ba69aa25 (patch)
tree027d7efc4785fafc3b73b66b59f40da1b2d3e73c /Source/cmSystemTools.h
parentc7e18a0408d6e93b19596e1a6ae99ac08a58eb00 (diff)
downloadCMake-92897bf3a8df0def74a3af36015dc3d7ba69aa25.zip
CMake-92897bf3a8df0def74a3af36015dc3d7ba69aa25.tar.gz
CMake-92897bf3a8df0def74a3af36015dc3d7ba69aa25.tar.bz2
ENH: add functions to API (read, write, delete registry key value)
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 9cbd62a..04ee977 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -51,6 +51,21 @@ public:
std::vector<std::string>& argsOut);
/**
+ * Read a registry value
+ */
+ static bool ReadRegistryValue(const char *key, std::string &value);
+
+ /**
+ * Write a registry value
+ */
+ static bool WriteRegistryValue(const char *key, const char *value);
+
+ /**
+ * Delete a registry value
+ */
+ static bool DeleteRegistryValue(const char *key);
+
+ /**
* Look for and replace registry values in a string
*/
static void ExpandRegistryValues(std::string& source);