VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreference Class Referenceabstract

Preference interface. More...

+ Inheritance diagram for IPreference:

Public Member Functions

virtual bool set (const UTF8String &key, const UTF8String &value)=0
 Set a preference value.
 
virtual Optional< UTF8Stringget (const UTF8String &key)=0
 Get a preference value.
 
- Public Member Functions inherited from Interface
virtual ~Interface () noexcept
 
 Interface ()=default
 
 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 ()
 

Detailed Description

Preference interface.

You get the preferences via IApplication::instance ().getPreferences ().

Member Function Documentation

virtual Optional<UTF8String> get ( const UTF8String key)
pure virtual

Get a preference value.

virtual bool set ( const UTF8String key,
const UTF8String value 
)
pure virtual

Set a preference value.


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