Public Member Functions | |
RegistryKey (RegistryKey &right) | |
Copy constructor, adopts ownership. | |
RegistryKey (HKEY hkey, const char *subkey, REGSAM samDesired=KEY_QUERY_VALUE) | |
Constructor, opens the key. | |
~RegistryKey () | |
Destructor, closes the key. | |
operator bool () const | |
int | setValueStr (const char *name, const char *data) |
char * | queryValueStr (const char *name, const int maxlen=2048) const |
Private Member Functions | |
RegistryKey () | |
No implementation. | |
RegistryKey (HKEY hkey, bool open=true) | |
Private Attributes | |
HKEY | _hkey |
bool | _open |
Upon failure, it emits an error message and then quits. Why do I have to write this class myself??
Definition at line 86 of file daemon_windows.cc.
|
No implementation.
|
|
Definition at line 92 of file daemon_windows.cc. |
|
Copy constructor, adopts ownership.
Definition at line 103 of file daemon_windows.cc. References _open. |
|
Constructor, opens the key.
Definition at line 110 of file daemon_windows.cc. |
|
Destructor, closes the key.
Definition at line 123 of file daemon_windows.cc. References _hkey, _open, HERE, and OmniEvents::Win::perror(). |
|
Definition at line 97 of file daemon_windows.cc. References _open. |
|
Definition at line 150 of file daemon_windows.cc. References _hkey. Referenced by OmniEvents::Service::readParameters(). |
|
Definition at line 136 of file daemon_windows.cc. References _hkey. Referenced by OmniEvents::Service::install(), and OmniEvents::Service::writeParameters(). |
|
Definition at line 88 of file daemon_windows.cc. Referenced by queryValueStr(), RegistryKey(), setValueStr(), and ~RegistryKey(). |
|
Definition at line 89 of file daemon_windows.cc. Referenced by operator bool(), RegistryKey(), and ~RegistryKey(). |