blob: 1b1cb5e2829eb221710a4dcf28cbc4a710bdbd20 (
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
41
42
43
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
// WindowsRegistry.h: Schnittstelle fr 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
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|