1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

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" #include "audacity/Types.h"
class ConfigClientInterface class AUDACITY_DLL_API ConfigClientInterface
{ {
public: public:
virtual ~ConfigClientInterface() {}; virtual ~ConfigClientInterface() {};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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