X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..be19c556083cc197be55acbd05db76ec6dc2e0c4:/include/wx/cocoa/sound.h?ds=inline diff --git a/include/wx/cocoa/sound.h b/include/wx/cocoa/sound.h index d764e8bfea..1a6f7de02d 100644 --- a/include/wx/cocoa/sound.h +++ b/include/wx/cocoa/sound.h @@ -1,9 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: sound.h +// Name: wx/cocoa/sound.h // Purpose: wxSound class (loads and plays short Windows .wav files). // Optional on non-Windows platforms. // Authors: David Elliott, Ryan Norton -// Modified by: +// Modified by: // Created: 2004-10-02 // RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott, Ryan Norton @@ -16,7 +16,7 @@ #include "wx/object.h" #include "wx/cocoa/ObjcRef.h" -class WXDLLEXPORT wxSound : public wxSoundBase +class WXDLLIMPEXP_ADV wxSound : public wxSoundBase { public: wxSound() @@ -41,7 +41,7 @@ public: void SetNSSound(WX_NSSound cocoaNSSound); inline WX_NSSound GetNSSound() { return m_cocoaNSSound; } -protected: +protected: bool DoPlay(unsigned flags) const; bool LoadWAV(const wxUint8 *data, size_t length, bool copyData); private: