Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / setup_native / source / win32 / customactions / reg4msdoc / windowsregistry.hxx
blob1b1cb5e2829eb221710a4dcf28cbc4a710bdbd20
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 // WindowsRegistry.h: Schnittstelle für die Klasse WindowsRegistry.
3 //
4 //////////////////////////////////////////////////////////////////////
6 #ifndef _WINDOWSREGISTRY_HXX_
7 #define _WINDOWSREGISTRY_HXX_
9 #ifdef _MSC_VER
10 #pragma warning(push, 1) /* disable warnings within system headers */
11 #endif
12 #include <windows.h>
13 #ifdef _MSC_VER
14 #pragma warning(pop)
15 #endif
17 #include "Registry.hxx"
19 /** Basically a factory class
21 class WindowsRegistry
23 public:
24 WindowsRegistry();
26 RegistryKey GetClassesRootKey(bool Writeable = true) const;
28 RegistryKey GetCurrentUserKey(bool Writeable = true) const;
30 RegistryKey GetLocalMachineKey(bool Writeable = true) const;
32 RegistryKey GetUserKey(bool Writeable = true) const;
34 private:
35 RegistryKey GetRegistryKey(HKEY RootKey, bool Writeable) const;
37 private:
38 bool m_IsWinNT;
41 #endif
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */