blob: a99259d8f0bd961e92637a85dc932032412ca398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// WindowsRegistry.h: Schnittstelle für die Klasse WindowsRegistry.
//
//////////////////////////////////////////////////////////////////////
#ifndef _WINDOWSREGISTRY_HXX_
#define _WINDOWSREGISTRY_HXX_
#ifdef _MSC_VER
#pragma warning(push, 1) /* disable warnings within system headers */
#endif
#include <windows.h>
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#include "Registry.hxx"
/** Basically a factory class
*/
class WindowsRegistry
{
public:
WindowsRegistry();
RegistryKey GetClassesRootKey(bool Writeable = true) const;
RegistryKey GetCurrentUserKey(bool Writeable = true) const;
RegistryKey GetLocalMachineKey(bool Writeable = true) const;
RegistryKey GetUserKey(bool Writeable = true) const;
private:
RegistryKey GetRegistryKey(HKEY RootKey, bool Writeable) const;
private:
bool m_IsWinNT;
};
#endif
|