blob: 6ca9b3e07d5d20af52b59e1122503298dd37aac7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#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";
}
|