diff plugin/RealTimePluginInstance.cpp @ 237:3a6af0e5e2d1

* Update along with latest Vamp API change. This has not yet been tested.
author Chris Cannam
date Mon, 26 Feb 2007 18:13:07 +0000
parents c30728d5625c
children 71f869dac40b
line wrap: on
line diff
--- a/plugin/RealTimePluginInstance.cpp	Mon Feb 26 14:55:08 2007 +0000
+++ b/plugin/RealTimePluginInstance.cpp	Mon Feb 26 18:13:07 2007 +0000
@@ -21,6 +21,8 @@
 #include "RealTimePluginInstance.h"
 #include "RealTimePluginFactory.h"
 
+#include "PluginIdentifier.h"
+
 #include <iostream>
 
 
@@ -35,3 +37,12 @@
     }
 }
 
+std::string
+RealTimePluginInstance::getIdentifier() const
+{
+    QString plid = getPluginIdentifier();
+    QString type, soname, label;
+    PluginIdentifier::parseIdentifier(plid, type, soname, label);
+    return label.toStdString();
+}
+