Commit Graph

10 Commits

Author SHA1 Message Date
Paul Licameli 406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00
Paul Licameli 11e924a49b ClientData 2020-08-26 01:36:48 -04:00
Paul Licameli e3e75705a6 Fix error in const overload of ClientData::Site::FindIf 2020-01-15 11:08:17 -05:00
Paul Licameli ae1644627f Define ClientData::slots() 2020-01-14 14:03:50 -05:00
Paul Licameli f694d75993 Define ClientData::FindIf 2019-11-23 14:52:47 -05:00
Paul Licameli cfbffe6d54 Bug 2228: crash closing, only Linux, gcc, opt, wxWidgets 3.0...
... Not the most satisfactory fix, but in fact no dangling pointers will
happen with the code we have now, because the relevant windows are all destroyed
only at the end of AudacityProject's lifetime, including the non-modal windows
(macros, history, lyrics, mixer board, plot spectrum, and contrast) which
are hidden and shown again, not destroyed and recreated, when dismissed and
reopened.

To do:  figure out how to make wxWeakRef work on that combination without
crashing.
2019-10-17 17:07:37 -04:00
Paul Licameli 357b593c66 Define ClientData::Site::size 2019-07-09 20:09:59 -04:00
Paul Licameli d8b3d16554 Make const overload of ClientData::Site::ForEach usable 2019-07-09 16:05:52 -04:00
Henric Jungheim 3b4250c3ae Base classes of AUDACITY_DLL_API classes also need AUDACITY_DLL_API. 2019-06-25 11:53:49 -07:00
Paul Licameli af039f19ff Generalize means for decoupled code to add data to core structures...
... Generalizing what was first done at 280e8d9 for certain menu command
handlers.

Allow core data structures to host data attached by other code, on which it
need have no compilation or link dependencies.
2019-05-21 10:08:56 -04:00