ASPiK SDK
VSTGUI::Standalone::ICommonDirectories Class Referenceabstract
Inheritance diagram for VSTGUI::Standalone::ICommonDirectories:
VSTGUI::Interface VSTGUI::Standalone::Platform::Mac::CommonDirectories VSTGUI::Standalone::Platform::Win32::CommonDirectories

Public Member Functions

virtual Optional< UTF8Stringget (CommonDirectoryLocation location, const UTF8String &subDir="", bool create=false) const =0
 
- Public Member Functions inherited from VSTGUI::Interface
 Interface (const Interface &)=delete
 
 Interface (Interface &&)=delete
 
Interfaceoperator= (const Interface &)=delete
 
Interfaceoperator= (Interface &&)=delete
 
template<typename T >
const auto dynamicCast () const
 
template<typename T >
auto dynamicCast ()
 

Member Function Documentation

◆ get()

virtual Optional<UTF8String> VSTGUI::Standalone::ICommonDirectories::get ( CommonDirectoryLocation  location,
const UTF8String subDir = "",
bool  create = false 
) const
pure virtual

Get a common directory.

Parameters
locationthe location of the directory
subDiroptional sub directory
createcreate directory if it does not exist
Returns
If location does exist the string is the path to the directory with the last character the path separator.

Implemented in VSTGUI::Standalone::Platform::Win32::CommonDirectories, and VSTGUI::Standalone::Platform::Mac::CommonDirectories.


The documentation for this class was generated from the following file: