]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/sound.cpp
don't reset the selection after event was vetoed if there is no old selection
[wxWidgets.git] / src / palmos / sound.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/sound.cpp
3 // Purpose: wxSound
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #if defined(__BORLANDC__)
16 #pragma hdrstop
17 #endif
18
19 #if wxUSE_SOUND
20
21 #ifndef WX_PRECOMP
22 #include "wx/wx.h"
23 #endif
24
25 #include "wx/file.h"
26 #include "wx/sound.h"
27 #include "wx/palmos/private.h"
28
29 wxSound::wxSound()
30 : m_waveData(NULL), m_waveLength(0), m_isResource(false)
31 {
32 }
33
34 wxSound::wxSound(const wxString& sFileName, bool isResource)
35 : m_waveData(NULL), m_waveLength(0), m_isResource(isResource)
36 {
37 }
38
39 wxSound::wxSound(int size, const wxByte* data)
40 : m_waveData(NULL), m_waveLength(0), m_isResource(false)
41 {
42 }
43
44 wxSound::~wxSound()
45 {
46 }
47
48 bool wxSound::Create(const wxString& fileName, bool isResource)
49 {
50 return false;
51 }
52
53 bool wxSound::Create(int size, const wxByte* data)
54 {
55 return false;
56 }
57
58 bool wxSound::DoPlay(unsigned flags) const
59 {
60 return false;
61 }
62
63 bool wxSound::Free()
64 {
65 return false;
66 }
67
68 /*static*/ void wxSound::Stop()
69 {
70 }
71
72 #endif // wxUSE_SOUND