ASPiK SDK
win32commondirectories.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/icommondirectories.h"
8 
9 //------------------------------------------------------------------------
10 namespace VSTGUI {
11 namespace Standalone {
12 namespace Platform {
13 namespace Win32 {
14 
15 //------------------------------------------------------------------------
17 {
18 public:
20 
21  Optional<UTF8String> get (CommonDirectoryLocation location, const UTF8String& subDir, bool create = false) const override;
22 private:
23  Optional<UTF8String> getLocalAppDataPath (const UTF8String& dir, const UTF8String& subDir, bool create) const;
24  Optional<UTF8String> getAppPath () const;
25 
26  UTF8String localAppDataPath;
27 };
28 
29 //------------------------------------------------------------------------
30 } // Win32
31 } // Platform
32 } // Standalone
33 } // VSTGUI
Definition: icommondirectories.h:25
Definition: win32commondirectories.h:16
Definition: customcontrols.cpp:8
holds an UTF8 encoded string and a platform representation of it
Definition: cstring.h:56
Definition: optional.h:18