summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-07 19:41:15 +0000
committerDavid Robillard <d@drobilla.net>2007-10-07 19:41:15 +0000
commit23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23 (patch)
tree837168a652de1a3be0f381e4a4854088dbafa6a2 /src/libs/client
parent2cb36f0265a391388b6edf988d919911b79aca4d (diff)
downloadingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.tar.gz
ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.tar.bz2
ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.zip
Added common abstract interface for Plugins.
git-svn-id: http://svn.drobilla.net/lad/ingen@837 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/PluginModel.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/client/PluginModel.hpp b/src/libs/client/PluginModel.hpp
index 444ed666..f3d0a329 100644
--- a/src/libs/client/PluginModel.hpp
+++ b/src/libs/client/PluginModel.hpp
@@ -28,6 +28,7 @@
#include <slv2/slv2.h>
#endif
#include "interface/EngineInterface.hpp"
+#include "interface/Plugin.hpp"
using std::string; using std::cerr; using std::endl;
namespace Ingen {
@@ -41,11 +42,9 @@ class NodeModel;
*
* \ingroup IngenClient
*/
-class PluginModel
+class PluginModel : public Ingen::Shared::Plugin
{
public:
- enum Type { Internal=0, LV2, DSSI, LADSPA, Patch };
-
PluginModel(const string& uri, const string& type_uri, const string& name)
: _uri(uri)
, _name(name)