lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
include
ToolPlugin.h
Go to the documentation of this file.
1
/*
2
* ToolPlugin.h - declaration of class ToolPlugin, a standard interface for all
3
* tool plugins
4
*
5
* Copyright (c) 2006-2007 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
6
* Copyright (c) 2008-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
7
*
8
* This file is part of LMMS - https://lmms.io
9
*
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 of the License, or (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public
21
* License along with this program (see COPYING); if not, write to the
22
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23
* Boston, MA 02110-1301 USA.
24
*
25
*/
26
27
#ifndef LMMS_TOOL_PLUGIN_H
28
#define LMMS_TOOL_PLUGIN_H
29
30
#include "
Plugin.h
"
31
32
33
namespace
lmms
34
{
35
36
37
class
LMMS_EXPORT
ToolPlugin
:
public
Plugin
38
{
39
public
:
40
ToolPlugin
(
const
Descriptor
* _descriptor,
Model
* _parent );
41
~ToolPlugin
()
override
=
default
;
42
43
// instantiate tool-plugin with given name or return NULL
44
// on failure
45
static
ToolPlugin
*
instantiate
(
const
QString & _plugin_name,
46
Model
* _parent );
47
48
} ;
49
50
51
}
// namespace lmms
52
53
#endif
// LMMS_TOOL_PLUGIN_H
Plugin.h
lmms::Model
Definition
Model.h:37
lmms::Plugin::Plugin
Plugin(const Descriptor *descriptor, Model *parent, const Descriptor::SubPluginFeatures::Key *key=nullptr)
Constructor of a plugin.
Definition
Plugin.cpp:60
lmms::ToolPlugin::ToolPlugin
ToolPlugin(const Descriptor *_descriptor, Model *_parent)
Definition
ToolPlugin.cpp:33
lmms::ToolPlugin::instantiate
static ToolPlugin * instantiate(const QString &_plugin_name, Model *_parent)
Definition
ToolPlugin.cpp:41
lmms::ToolPlugin::~ToolPlugin
~ToolPlugin() override=default
lmms
Definition
RemotePluginBase.cpp:34
lmms::Plugin::Descriptor
Definition
Plugin.h:92
Generated on
for lmms by
1.18.0