aboutsummaryrefslogblamecommitdiff
path: root/sample-plugin/sampleplugin.hpp
blob: a47e037cdea63306ff023ef1ed93cf78f010c4f6 (plain) (tree)


















                                                    
                                                                         



                                          
#ifndef SAMPLEPLUGIN_H
#define SAMPLEPLUGIN_H

#include "../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);}
}

#endif // SAMPLEPLUGIN_H