Fixed warnings about AUDACITY_DLL_API.

If one class is exported, then all the classes it derives from must be exported too, otherwise we get warnings wherever it is used.
This commit is contained in:
james.k.crook@gmail.com 2014-11-11 15:47:48 +00:00
parent 1933070f0d
commit 740bc0d983
11 changed files with 16 additions and 8 deletions

View File

@ -44,7 +44,7 @@
#include "audacity/Types.h"
class ConfigClientInterface
class AUDACITY_DLL_API ConfigClientInterface
{
public:
virtual ~ConfigClientInterface() {};

View File

@ -56,7 +56,7 @@ typedef enum EffectType
EffectTypeAnalyze
} EffectType;
class EffectIdentInterface : public IdentInterface
class AUDACITY_DLL_API EffectIdentInterface : public IdentInterface
{
public:
virtual ~EffectIdentInterface() {};
@ -80,8 +80,9 @@ public:
virtual bool IsRealtimeCapable() = 0;
};
class EffectHostInterface : public EffectIdentInterface,
public ConfigClientInterface
class AUDACITY_DLL_API EffectHostInterface :
public EffectIdentInterface,
public ConfigClientInterface
{
public:
virtual ~EffectHostInterface() {};

View File

@ -44,7 +44,7 @@
#include "audacity/Types.h"
class IdentInterface
class AUDACITY_DLL_API IdentInterface
{
public:
virtual ~IdentInterface() {};

View File

@ -48,8 +48,8 @@
#include "audacity/IdentInterface.h"
#include "audacity/ImporterInterface.h"
class IdentInterface;
class EffectIdentInterface;
class AUDACITY_DLL_API IdentInterface;
class AUDACITY_DLL_API EffectIdentInterface;
class PluginManagerInterface
{
public:

View File

@ -9,6 +9,7 @@
**********************************************************************/
#include "../Audacity.h"
#include "Effect.h"
#include "EffectCategory.h"

View File

@ -9,6 +9,8 @@
**********************************************************************/
#include "../Audacity.h"
#include <wx/msgdlg.h>
#include <wx/stopwatch.h>
#include <wx/tokenzr.h>

View File

@ -11,6 +11,7 @@
**********************************************************************/
#include "../Audacity.h"
#include "../Experimental.h"
#if defined(EXPERIMENTAL_EFFECTS_RACK)

View File

@ -13,13 +13,13 @@
*//*******************************************************************/
#include "Noise.h"
#include "../Audacity.h"
#include "../Project.h"
#include "../Prefs.h"
#include "../ShuttleGui.h"
#include "../WaveTrack.h"
#include "../widgets/NumericTextCtrl.h"
#include "Noise.h"
#include <math.h>

View File

@ -19,6 +19,7 @@
*//*******************************************************************/
#include "../Audacity.h"
#include "Reverb.h"
#include "Reverb_libSoX.h"
#include "../Prefs.h"

View File

@ -8,6 +8,7 @@
**********************************************************************/
#include "../../Audacity.h"
#include "../EffectManager.h"
#include "VampEffect.h"
#include "LoadVamp.h"

View File

@ -11,6 +11,7 @@
**********************************************************************/
#include "../../Audacity.h"
#include "VampEffect.h"
#include <vamp-hostsdk/Plugin.h>