blob: baf2786c4e9f9e02a5c83644963e13d991dcfe9d (
plain) (
blame)
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=nullptr;}
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";}
|