diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-09 21:40:00 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-09 21:40:00 (GMT) |
commit | 7ca1c6d2d8cf3eb22e5a8e2b78551db8b2e3c4dd (patch) | |
tree | f557c12f76d56c511a07042497807fdffdfa5fcd /Source/kwsys/Registry.hxx.in | |
parent | 3ba5d52d1b98276adb02b178ca8aecd31365880e (diff) | |
download | CMake-7ca1c6d2d8cf3eb22e5a8e2b78551db8b2e3c4dd.zip CMake-7ca1c6d2d8cf3eb22e5a8e2b78551db8b2e3c4dd.tar.gz CMake-7ca1c6d2d8cf3eb22e5a8e2b78551db8b2e3c4dd.tar.bz2 |
STYLE: Minor style
Diffstat (limited to 'Source/kwsys/Registry.hxx.in')
-rw-r--r-- | Source/kwsys/Registry.hxx.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/kwsys/Registry.hxx.in b/Source/kwsys/Registry.hxx.in index c0590f5..8cccc38 100644 --- a/Source/kwsys/Registry.hxx.in +++ b/Source/kwsys/Registry.hxx.in @@ -27,7 +27,7 @@ class RegistryHelper; * \brief Portable registry class * * This class abstracts the storing of data that can be restored - * when the program executes again. On Win32 platform it is + * when the program executes again. On Win32 platform it is * implemented using the registry and on unix as a file in * the user's home directory. */ @@ -60,24 +60,24 @@ public: bool DeleteValue(const char *subkey, const char *key); //! Set value in a given key. - bool SetValue(const char *subkey, const char *key, + bool SetValue(const char *subkey, const char *key, const char *value); //! Open the registry at toplevel/subkey. - bool Open(const char *toplevel, const char *subkey, + bool Open(const char *toplevel, const char *subkey, int readonly); - - //! Close the registry. + + //! Close the registry. bool Close(); //! Read from local or global scope. On Windows this mean from local machine - // or local user. On unix this will read from $HOME/.Projectrc or + // or local user. On unix this will read from $HOME/.Projectrc or // /etc/Project void GlobalScopeOn() { this->SetGlobalScope(1); } void GlobalScopeOff() { this->SetGlobalScope(0); } void SetGlobalScope(bool b); bool GetGlobalScope(); - + // Set or get the toplevel registry key. void SetTopLevel(const char* tl); const char* GetTopLevel(); @@ -100,7 +100,7 @@ private: RegistryHelper* Helper; bool m_Opened; - + bool m_Locked; }; // End Class: Registry |