]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/wave.cpp
Motif files added.
[wxWidgets.git] / src / motif / wave.cpp
diff --git a/src/motif/wave.cpp b/src/motif/wave.cpp
new file mode 100644 (file)
index 0000000..c51c675
--- /dev/null
@@ -0,0 +1,61 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wave.cpp
+// Purpose:     wxWave class implementation: optional
+// Author:      Julian Smart
+// Modified by:
+// Created:     17/09/98
+// RCS-ID:      $Id$
+// Copyright:   (c) Julian Smart
+// Licence:    wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifdef __GNUG__
+#pragma implementation "wave.h"
+#endif
+
+#include "wx/object.h"
+#include "wx/string.h"
+#include "wx/stubs/wave.h"
+
+wxWave::wxWave()
+  : m_waveLength(0), m_isResource(FALSE), m_waveData(NULL)
+{
+}
+
+wxWave::wxWave(const wxString& sFileName, bool isResource)
+  : m_waveLength(0), m_isResource(isResource), m_waveData(NULL)
+{
+    Create(sFileName, isResource);
+}
+
+
+wxWave::~wxWave()
+{
+    Free();
+}
+
+bool wxWave::Create(const wxString& fileName, bool isResource)
+{
+    Free();
+
+    // TODO
+
+    return FALSE;
+}
+
+bool wxWave::Play(bool async, bool looped) const
+{
+    if (!IsOk())
+        return FALSE;
+
+    // TODO
+    return FALSE;
+}
+
+bool wxWave::Free()
+{
+    // TODO
+    return FALSE;
+}
+
+