2010-02-16 04:00:21 +01:00
|
|
|
#include "../../include/cAudioDefines.h"
|
2010-02-15 00:16:44 +01:00
|
|
|
#include "cEAXLegacyPresetPlugin.h"
|
|
|
|
#include <string>
|
2010-02-20 09:35:34 +01:00
|
|
|
#ifdef CAUDIO_PLATFORM_LINUX
|
|
|
|
#include <cstring>
|
|
|
|
#endif
|
2010-02-15 00:16:44 +01:00
|
|
|
|
|
|
|
//Gives back the plugin class for cAudio to install and use.
|
|
|
|
extern "C" CAUDIO_API IAudioPlugin* GetPluginModule(const char* version)
|
|
|
|
{
|
|
|
|
//Double-check the version to make sure we can be used
|
|
|
|
if(strcmp(CAUDIO_VERSION, version) == 0)
|
|
|
|
{
|
|
|
|
return new cEAXLegacyPresetPlugin();
|
|
|
|
}
|
|
|
|
return NULL;
|
|
|
|
}
|