Share VSTHandle and VSTInfo between windows/linux VSTs.
[ardour.git] / libs / ardour / ardour / windows_vst_plugin.h
index e4b23fc46e0f36627353d31685edd72bc2121bf7..973c25e6b0b415e0fc4aa6f408ef060202839226 100644 (file)
 #include "pbd/stateful.h"
 #include "ardour/plugin.h"
 
-struct _FSTHandle;
-typedef struct _FSTHandle FSTHandle;
 struct _FST;
 typedef struct _FST FST;
 struct _AEffect;
 typedef struct _AEffect AEffect;
+struct _VSTHandle;
+typedef struct _VSTHandle VSTHandle;
 
 namespace ARDOUR {
 class AudioEngine;
@@ -44,7 +44,7 @@ class Session;
 class WindowsVSTPlugin : public ARDOUR::Plugin
 {
   public:
-       WindowsVSTPlugin (ARDOUR::AudioEngine&, ARDOUR::Session&, FSTHandle* handle);
+       WindowsVSTPlugin (ARDOUR::AudioEngine&, ARDOUR::Session&, VSTHandle *);
        WindowsVSTPlugin (const WindowsVSTPlugin &);
        ~WindowsVSTPlugin ();
 
@@ -102,7 +102,7 @@ private:
        bool load_plugin_preset (PresetRecord);
        void add_state (XMLNode *) const;
 
-       FSTHandle* handle;
+       VSTHandle*  handle;
        FST*       _fst;
        AEffect*   _plugin;
        bool        been_resumed;