1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-02 06:40:12 +01: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"
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: