X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/include/wx/palmos/sound.h?ds=sidebyside diff --git a/include/wx/palmos/sound.h b/include/wx/palmos/sound.h index d77ffa6f76..7b813f5b61 100644 --- a/include/wx/palmos/sound.h +++ b/include/wx/palmos/sound.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: sound.h +// Name: wx/palmos/sound.h // Purpose: wxSound class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,10 +12,6 @@ #ifndef _WX_SOUND_H_ #define _WX_SOUND_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "sound.h" -#endif - #if wxUSE_SOUND #include "wx/object.h" @@ -26,7 +22,7 @@ public: wxSound(); wxSound(const wxString& fileName, bool isResource = false); wxSound(int size, const wxByte* data); - ~wxSound(); + virtual ~wxSound(); public: // Create from resource or file @@ -35,12 +31,12 @@ public: bool Create(int size, const wxByte* data); bool IsOk() const { return (m_waveData ? true : false); }; - + static void Stop(); protected: bool Free(); - + bool DoPlay(unsigned flags) const; private: