1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Added AUDACITY_DLL_API and similar to export more of our classes. This is a tiny adaptation of a patch by Stephen Parry for enabling his Eutychus plug-in. See audacity-devel thread 'Second Exports Patch' of Jan 11th 2014.

This commit is contained in:
james.k.crook@gmail.com
2014-01-13 21:09:14 +00:00
parent 0e7e4dbd86
commit 396486d3a6
5 changed files with 20 additions and 12 deletions

View File

@@ -86,8 +86,8 @@ static void ExportCallback(void *cbdata, int index)
//----------------------------------------------------------------------------
#include <wx/arrimpl.cpp>
WX_DEFINE_OBJARRAY(ExportPluginArray);
WX_DEFINE_OBJARRAY(FormatInfoArray);
WX_DEFINE_USER_EXPORTED_OBJARRAY(ExportPluginArray);
WX_DEFINE_USER_EXPORTED_OBJARRAY(FormatInfoArray);
ExportPlugin::ExportPlugin()
{

View File

@@ -29,7 +29,7 @@ class FileDialog;
class TimeTrack;
class Mixer;
class FormatInfo
class AUDACITY_DLL_API FormatInfo
{
public:
FormatInfo(){};
@@ -43,12 +43,12 @@ class FormatInfo
bool mCanMetaData;
};
WX_DECLARE_OBJARRAY(FormatInfo, FormatInfoArray);
WX_DECLARE_USER_EXPORTED_OBJARRAY(FormatInfo, FormatInfoArray, AUDACITY_DLL_API);
//----------------------------------------------------------------------------
// ExportPlugin
//----------------------------------------------------------------------------
class ExportPlugin
class AUDACITY_DLL_API ExportPlugin
{
public:
@@ -129,12 +129,12 @@ private:
FormatInfoArray mFormatInfos;
};
WX_DECLARE_OBJARRAY(ExportPlugin *, ExportPluginArray);
WX_DECLARE_USER_EXPORTED_OBJARRAY(ExportPlugin *, ExportPluginArray, AUDACITY_DLL_API);
//----------------------------------------------------------------------------
// Exporter
//----------------------------------------------------------------------------
class Exporter
class AUDACITY_DLL_API Exporter
{
public: