aboutsummaryrefslogblamecommitdiff
path: root/sample-plugin/sampleplugin.cpp
blob: 64e5584e0f2f35d13cefcba4e8e56518a6e77f65 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                 
#include <cstdio>
#include "sampleplugin.hpp"

qmpSamplePlugin::qmpSamplePlugin(qmpPluginAPI* _api){api=_api;}
qmpSamplePlugin::~qmpSamplePlugin(){api=NULL;}
void qmpSamplePlugin::init()
{fputs("Hello world from plugin init!\n",stderr);}
void qmpSamplePlugin::deinit()
{fputs("Bye!\n",stderr);}
const char* qmpSamplePlugin::pluginGetName(){return "QMidiPlayer Sample Plugin";}
const char* qmpSamplePlugin::pluginGetVersion(){return "0.0.0";}