VST 3 SDK  VST 3.7
SDK for developing VST plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
PresetManager Class Reference

#include <PresetManager.h>

+ Inheritance diagram for PresetManager:

Public Member Functions

 PresetManager (VST3Plugin *plugin, const TUID &cid)
 
tresult runLoadPresetBrowser () override
 
tresult runSavePresetBrowser () override
 
tresult loadNextPreset () override
 
tresult loadPreviousPreset () override
 
DEFINE_INTERFACES
DEF_INTERFACE(IInterAppAudioPresetManager)
END_DEFINE_INTERFACES(FObject)
REFCOUNT_METHODS(FObject)
private NSArray * 
getPresetPaths (PresetPathType type)
 
tresult loadPreset (bool next)
 
tresult loadPreset (const char *path)
 
void savePreset (const char *path)
 

Public Attributes

VST3Plugin * plugin
 
PresetBrowserViewController * visiblePresetBrowserViewController
 
PresetSaveViewController * visibleSavePresetViewController
 
FUID cid
 
String lastPreset
 

Additional Inherited Members

- Static Public Attributes inherited from IInterAppAudioPresetManager
static const FUID iid
 

Constructor & Destructor Documentation

PresetManager ( VST3Plugin *  plugin,
const TUID cid 
)

Member Function Documentation

tresult runLoadPresetBrowser ( )
overridevirtual
tresult runSavePresetBrowser ( )
overridevirtual
tresult loadNextPreset ( )
overridevirtual
tresult loadPreviousPreset ( )
overridevirtual
DEFINE_INTERFACES DEF_INTERFACE (IInterAppAudioPresetManager) END_DEFINE_INTERFACES (FObject) REFCOUNT_METHODS (FObject) private NSArray* getPresetPaths ( PresetPathType  type)
tresult loadPreset ( bool  next)
tresult loadPreset ( const char path)
void savePreset ( const char path)

Member Data Documentation

VST3Plugin* plugin
PresetBrowserViewController* visiblePresetBrowserViewController
PresetSaveViewController* visibleSavePresetViewController
FUID cid
String lastPreset
Empty

Copyright ©2022 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.