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