2 * Copyright 2012, Gerasim Troeglazov (3dEyes**), 3dEyes@gmail.com.
4 * Distributed under the terms of the MIT License.
7 #ifndef __VST_ADDON_H__
8 #define __VST_ADDON_H__
10 #include <MediaAddOn.h>
13 class VSTAddOn
: public BMediaAddOn
{
16 explicit VSTAddOn(image_id image
);
17 virtual status_t
InitCheck(const char** text
);
18 virtual int32
CountFlavors();
19 virtual status_t
GetFlavorAt(int32 idx
, const flavor_info
** info
);
20 virtual BMediaNode
* InstantiateNodeFor(const flavor_info
* info
, BMessage
* config
,
22 virtual status_t
GetConfigurationFor(BMediaNode
* node
, BMessage
* message
);
23 virtual bool WantsAutoStart();
24 virtual status_t
AutoStart(int count
, BMediaNode
** node
, int32
* id
, bool* more
);
26 int ScanPluginsFolder(const char* path
, bool make_dir
= false);
30 #endif //__VST_ADDON_H__