]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/sound.h
Remove SetPageTitle and GetPageTitle and make GetCurrentTitle actually return the...
[wxWidgets.git] / include / wx / palmos / sound.h
index d77ffa6f7673f2623a19684d5b58cd2e65ebfc6e..9322b2031d868e4c79f1d477781158063a7d4e78 100644 (file)
@@ -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
 /////////////////////////////////////////////////////////////////////////////
 #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:
@@ -48,7 +44,7 @@ private:
   int   m_waveLength;
   bool  m_isResource;
 
-    DECLARE_NO_COPY_CLASS(wxSound)
+    wxDECLARE_NO_COPY_CLASS(wxSound);
 };
 #endif
 #endif