1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Define and use PROFILE_DLL_API

This commit is contained in:
Paul Licameli
2016-01-29 09:00:02 -05:00
parent 6a3d99a8e6
commit 527a826b86
5 changed files with 13 additions and 4 deletions

View File

@@ -120,6 +120,15 @@ void QuitAudacity();
#endif
#endif //_MSC_VER
// Put extra symbol information in the release build, for the purpose of gathering
// profiling information (as from Windows Process Monitor), when there otherwise
// isn't a need for AUDACITY_DLL_API.
#if IS_ALPHA
#define PROFILE_DLL_API AUDACITY_DLL_API
#else
#define PROFILE_DLL_API
#endif
/* The GCC-elf implementation */
#ifdef HAVE_VISIBILITY // this is provided by the configure script, is only
// enabled for suitable GCC versions

View File

@@ -38,7 +38,7 @@ class SummaryInfo {
class BlockFile /* not final */ {
class PROFILE_DLL_API BlockFile /* not final */ {
public:
// Constructor / Destructor

View File

@@ -34,7 +34,7 @@ WX_DECLARE_HASH_MAP(wxString, BlockFile*, wxStringHash, wxStringEqual, BlockHash
wxMemorySize GetFreeMemory();
class DirManager final : public XMLTagHandler {
class PROFILE_DLL_API DirManager final : public XMLTagHandler {
public:
// MM: Construct DirManager with refcount=1

View File

@@ -55,7 +55,7 @@ class SeqBlock {
class BlockArray : public std::vector<SeqBlock> {};
using BlockPtrArray = std::vector<SeqBlock*>; // non-owning pointers
class Sequence final : public XMLTagHandler {
class PROFILE_DLL_API Sequence final : public XMLTagHandler{
public:
//

View File

@@ -42,7 +42,7 @@ typedef struct {
wxUint32 channels; // number of interleaved channels
} auHeader;
class SimpleBlockFile /* not final */ : public BlockFile {
class PROFILE_DLL_API SimpleBlockFile /* not final */ : public BlockFile {
public:
// Constructor / Destructor