aboutsummaryrefslogtreecommitdiff
path: root/sample-plugin/sampleplugin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sample-plugin/sampleplugin.hpp')
-rw-r--r--sample-plugin/sampleplugin.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sample-plugin/sampleplugin.hpp b/sample-plugin/sampleplugin.hpp
index a47e037..ffb3d77 100644
--- a/sample-plugin/sampleplugin.hpp
+++ b/sample-plugin/sampleplugin.hpp
@@ -19,6 +19,8 @@ class qmpSamplePlugin:public qmpPluginIntf
extern "C"{
EXPORTSYM qmpPluginIntf* qmpPluginGetInterface(qmpPluginAPI* api)
{return new qmpSamplePlugin(api);}
+ EXPORTSYM const char* qmpPluginGetAPIRev()
+ {return QMP_PLUGIN_API_REV;}
}
#endif // SAMPLEPLUGIN_H