blob: 9ffb6d11faf4db725f30e78538d26485381a8654 (
plain) (
tree)
|
|
#ifndef SAMPLEPLUGIN_H
#define SAMPLEPLUGIN_H
#include "qmpcorepublic.hpp"
class qmpSamplePlugin: public qmpPluginIntf
{
private:
qmpPluginAPI *api;
public:
qmpSamplePlugin(qmpPluginAPI *_api);
~qmpSamplePlugin();
void init();
void deinit();
const char *pluginGetName();
const char *pluginGetVersion();
};
extern "C" {
EXPORTSYM qmpPluginIntf *qmpPluginGetInterface(qmpPluginAPI *api)
{
return new qmpSamplePlugin(api);
}
EXPORTSYM const char *qmpPluginGetAPIRev()
{
return QMP_PLUGIN_API_REV;
}
}
#endif // SAMPLEPLUGIN_H
|