Ardour  8.12
lxvst_plugin.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2011-2013 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2011 Carl Hetherington <carl@carlh.net>
4  * Copyright (C) 2013-2018 Robin Gareus <robin@gareus.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
21 #ifndef __ardour_lxvst_plugin_h__
22 #define __ardour_lxvst_plugin_h__
23 
24 #include "ardour/vst_plugin.h"
25 
26 namespace ARDOUR {
27 
28 class AudioEngine;
29 class Session;
30 struct VST2Info;
31 
33 {
34  public:
35  LXVSTPlugin (AudioEngine &, Session &, VSTHandle *, int unique_id);
38 
39  std::string state_node_name () const { return "lxvst"; }
40 };
41 
43 {
44  public:
47 
49  std::vector<Plugin::PresetRecord> get_presets (bool user_only) const;
50 };
51 
52 } // namespace ARDOUR
53 
54 #endif /* __ardour_lxvst_plugin_h__ */
PluginPtr load(Session &session)
LXVSTPluginInfo(VST2Info const &)
std::vector< Plugin::PresetRecord > get_presets(bool user_only) const
std::string state_node_name() const
Definition: lxvst_plugin.h:39
LXVSTPlugin(const LXVSTPlugin &)
LXVSTPlugin(AudioEngine &, Session &, VSTHandle *, int unique_id)
#define LIBARDOUR_API
void session(lua_State *L)
std::shared_ptr< Plugin > PluginPtr
Definition: plugin.h:63
DebugBits AudioEngine
Definition: session.h:1413