]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/sound.h
Applied patch [ 1166587 ] [wxMSW] Removes all flicker from wxStaticBox
[wxWidgets.git] / include / wx / mac / carbon / sound.h
index ee2743b6316c77e6a46dbf1545231b075c10b4ca..54bceddf37afea011b66544b2a5c95f9dde53e01 100644 (file)
@@ -2,11 +2,11 @@
 // Name:        sound.h
 // Purpose:     wxSound class (loads and plays short Windows .wav files).
 //              Optional on non-Windows platforms.
-// Author:      Stefan Csomor
+// Author:      Ryan Norton, Stefan Csomor
 // Modified by:
 // Created:     1998-01-01
 // RCS-ID:      $Id$
-// Copyright:   (c) Stefan Csomor
+// Copyright:   (c) Ryan Norton, Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -32,12 +32,11 @@ public:
 public:
   bool  Create(const wxString& fileName, bool isResource = FALSE);
   bool  IsOk() const { return !m_sndname.IsEmpty(); }
+  static void  Stop();
+  static bool IsPlaying();
 
   void* GetHandle();
-protected:
-  // prevent collision with some BSD definitions of macro Free()
-  bool  FreeData();
-  
+protected:  
   bool  DoPlay(unsigned flags) const;
 
 private: