Ardour  9.0-pre0-582-g084a23a80d
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 #pragma once
22 
23 #include "ardour/vst_plugin.h"
24 
25 namespace ARDOUR {
26 
27 class AudioEngine;
28 class Session;
29 struct VST2Info;
30 
32 {
33  public:
34  LXVSTPlugin (AudioEngine &, Session &, VSTHandle *, int unique_id);
37 
38  std::string state_node_name () const { return "lxvst"; }
39 };
40 
42 {
43  public:
46 
48  std::vector<Plugin::PresetRecord> get_presets (bool user_only) const;
49 };
50 
51 } // namespace ARDOUR
52 
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:38
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:62
DebugBits AudioEngine
Definition: session.h:1349