From 0670dbc7535ef2b20f4d75a918950d0a5091e1c0 Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Thu, 22 Aug 2013 20:52:56 +0000 Subject: [PATCH] Expose LabelTrack stuff to DLL interface, per "Developing an Plug-in that charges labels and cues from a wav file" thread on audacity-devel. --- src/LabelTrack.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/LabelTrack.h b/src/LabelTrack.h index 8de35a6d1..83295cdef 100644 --- a/src/LabelTrack.h +++ b/src/LabelTrack.h @@ -86,14 +86,15 @@ public: bool updated; /// flag to tell if the label times were updated }; -WX_DEFINE_ARRAY(LabelStruct *, LabelArray); +AUDACITY_DLL_API WX_DEFINE_ARRAY(LabelStruct *, LabelArray); const int NUM_GLYPH_CONFIGS = 3; const int NUM_GLYPH_HIGHLIGHTS = 4; const int MAX_NUM_ROWS =80; -class LabelTrack:public Track { +class AUDACITY_DLL_API LabelTrack : public Track +{ friend class LabelStruct; public: