]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/sound.h
replace @seealso with @see; as Vaclav pointed out we shouldn't use custom aliases...
[wxWidgets.git] / interface / sound.h
index 1a247877f1cded5c48f72a610f719b02aca9c004..3338471cdda877874af16a0b9f031d46890c107b 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        sound.h
-// Purpose:     documentation for wxSound class
+// Purpose:     interface of wxSound
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -58,13 +58,13 @@ public:
         Returns @true if the object contains a successfully loaded file or resource,
         @false otherwise.
     */
-    bool IsOk();
+    bool IsOk() const;
 
     /**
         Returns @true if a sound is played at the moment.
         This method is currently not implemented under Windows.
     */
-    static bool IsPlaying();
+    static bool IsPlaying() const;
 
     //@{
     /**
@@ -95,8 +95,8 @@ public:
         The static form is shorthand for this code:
     */
     bool Play(unsigned flags = wxSOUND_ASYNC);
-    static bool Play(const wxString& filename,
-                     unsigned flags = wxSOUND_ASYNC);
+    const static bool Play(const wxString& filename,
+                           unsigned flags = wxSOUND_ASYNC);
     //@}
 
     /**
@@ -104,3 +104,4 @@ public:
     */
     static void Stop();
 };
+