Update ooo320-m1
[ooovba.git] / setup_native / source / win32 / customactions / reg4msdoc / windowsregistry.hxx
blobbcd964a2c9cf92f75c6617d0b61761ff999bce93
1 // WindowsRegistry.h: Schnittstelle für die Klasse WindowsRegistry.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #ifndef _WINDOWSREGISTRY_HXX_
6 #define _WINDOWSREGISTRY_HXX_
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
16 #include "Registry.hxx"
18 /** Basically a factory class
20 class WindowsRegistry
22 public:
23 WindowsRegistry();
25 RegistryKey GetClassesRootKey(bool Writeable = true) const;
27 RegistryKey GetCurrentUserKey(bool Writeable = true) const;
29 RegistryKey GetLocalMachineKey(bool Writeable = true) const;
31 RegistryKey GetUserKey(bool Writeable = true) const;
33 private:
34 RegistryKey GetRegistryKey(HKEY RootKey, bool Writeable) const;
36 private:
37 bool m_IsWinNT;
40 #endif