]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/sound.cpp
Committed William Osborne's wxPalmOS port
[wxWidgets.git] / src / palmos / sound.cpp
diff --git a/src/palmos/sound.cpp b/src/palmos/sound.cpp
new file mode 100644 (file)
index 0000000..dae279a
--- /dev/null
@@ -0,0 +1,76 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        sound.cpp
+// Purpose:     wxSound
+// Author:      William Osborne
+// Modified by:
+// Created:     10/13/04
+// RCS-ID:      $Id: 
+// Copyright:   (c) William Osborne
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+#pragma implementation "sound.h"
+#endif
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#if defined(__BORLANDC__)
+#pragma hdrstop
+#endif
+
+#if wxUSE_SOUND
+
+#ifndef WX_PRECOMP
+#include "wx/wx.h"
+#endif
+
+#include "wx/file.h"
+#include "wx/sound.h"
+#include "wx/palmos/private.h"
+
+wxSound::wxSound()
+  : m_waveData(NULL), m_waveLength(0), m_isResource(false)
+{
+}
+
+wxSound::wxSound(const wxString& sFileName, bool isResource)
+  : m_waveData(NULL), m_waveLength(0), m_isResource(isResource)
+{
+}
+
+wxSound::wxSound(int size, const wxByte* data)
+  : m_waveData(NULL), m_waveLength(0), m_isResource(false)
+{
+}
+
+wxSound::~wxSound()
+{
+}
+
+bool wxSound::Create(const wxString& fileName, bool isResource)
+{
+    return false;
+}
+
+bool wxSound::Create(int size, const wxByte* data)
+{
+    return false;
+}
+
+bool wxSound::DoPlay(unsigned flags) const
+{
+    return false;
+}
+
+bool wxSound::Free()
+{
+    return false;
+}
+
+/*static*/ void wxSound::Stop()
+{
+}
+
+#endif // wxUSE_SOUND