ASPiK SDK
win32preference.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #pragma once
6 
7 #include "../../../include/ipreference.h"
8 #include <windows.h>
9 
10 //------------------------------------------------------------------------
11 namespace VSTGUI {
12 namespace Standalone {
13 namespace Platform {
14 namespace Win32 {
15 
16 //------------------------------------------------------------------------
18 {
19 public:
20  Win32Preference ();
21  ~Win32Preference ();
22 
23  bool set (const UTF8String& key, const UTF8String& value) override;
24  Optional<UTF8String> get (const UTF8String& key) override;
25 
26 private:
27  HKEY hKey;
28 };
29 
30 //------------------------------------------------------------------------
31 } // Mac
32 } // Platform
33 } // Standalone
34 } // VSTGUI
Definition: customcontrols.cpp:8
holds an UTF8 encoded string and a platform representation of it
Definition: cstring.h:56
Definition: optional.h:18
Definition: ipreference.h:22