]>
Commit | Line | Data |
---|---|---|
ffecfa5a | 1 | ///////////////////////////////////////////////////////////////////////////// |
e2731512 | 2 | // Name: src/palmos/sound.cpp |
ffecfa5a | 3 | // Purpose: wxSound |
e2731512 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e2731512 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
ffecfa5a JS |
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 | ||
c559c4b3 | 39 | wxSound::wxSound(size_t size, const void* data) |
ffecfa5a JS |
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 | ||
c559c4b3 | 53 | bool wxSound::Create(size_t size, const void* data) |
ffecfa5a JS |
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 |