ASPiK SDK
macpreference.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 #import "../../../include/ipreference.h"
8 
9 //------------------------------------------------------------------------
10 namespace VSTGUI {
11 namespace Standalone {
12 namespace Platform {
13 namespace Mac {
14 
15 //------------------------------------------------------------------------
16 class MacPreference : public IPreference
17 {
18 public:
19  bool set (const UTF8String& key, const UTF8String& value) override;
20  Optional<UTF8String> get (const UTF8String& key) override;
21 };
22 
23 //------------------------------------------------------------------------
24 } // Mac
25 } // Platform
26 } // Standalone
27 } // 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