blob: fbc8bfaa0edcbcc6ead2775f3e79abe942ce7361 (
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
28
29
30
31
32
|
#ifndef QMPMPRIS_HPP
#define QMPMPRIS_HPP
#include "../include/qmpcorepublic.hpp"
class QMPrisWrapper;
class qmpMPrisPlugin: public qmpPluginIntf
{
private:
qmpPluginAPI *api;
QMPrisWrapper *mw = nullptr;
public:
qmpMPrisPlugin(qmpPluginAPI *_api);
~qmpMPrisPlugin();
void init();
void deinit();
const char *pluginGetName();
const char *pluginGetVersion();
};
extern "C" {
EXPORTSYM qmpPluginIntf *qmpPluginGetInterface(qmpPluginAPI *api)
{
return new qmpMPrisPlugin(api);
}
EXPORTSYM const char *qmpPluginGetAPIRev()
{
return QMP_PLUGIN_API_REV;
}
}
#endif
|