]>
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 | ||
12 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) | |
13 | #pragma implementation "sound.h" | |
14 | #endif | |
15 | ||
16 | // For compilers that support precompilation, includes "wx.h". | |
17 | #include "wx/wxprec.h" | |
18 | ||
19 | #if defined(__BORLANDC__) | |
20 | #pragma hdrstop | |
21 | #endif | |
22 | ||
23 | #if wxUSE_SOUND | |
24 | ||
25 | #ifndef WX_PRECOMP | |
26 | #include "wx/wx.h" | |
27 | #endif | |
28 | ||
29 | #include "wx/file.h" | |
30 | #include "wx/sound.h" | |
31 | #include "wx/palmos/private.h" | |
32 | ||
33 | wxSound::wxSound() | |
34 | : m_waveData(NULL), m_waveLength(0), m_isResource(false) | |
35 | { | |
36 | } | |
37 | ||
38 | wxSound::wxSound(const wxString& sFileName, bool isResource) | |
39 | : m_waveData(NULL), m_waveLength(0), m_isResource(isResource) | |
40 | { | |
41 | } | |
42 | ||
43 | wxSound::wxSound(int size, const wxByte* data) | |
44 | : m_waveData(NULL), m_waveLength(0), m_isResource(false) | |
45 | { | |
46 | } | |
47 | ||
48 | wxSound::~wxSound() | |
49 | { | |
50 | } | |
51 | ||
52 | bool wxSound::Create(const wxString& fileName, bool isResource) | |
53 | { | |
54 | return false; | |
55 | } | |
56 | ||
57 | bool wxSound::Create(int size, const wxByte* data) | |
58 | { | |
59 | return false; | |
60 | } | |
61 | ||
62 | bool wxSound::DoPlay(unsigned flags) const | |
63 | { | |
64 | return false; | |
65 | } | |
66 | ||
67 | bool wxSound::Free() | |
68 | { | |
69 | return false; | |
70 | } | |
71 | ||
72 | /*static*/ void wxSound::Stop() | |
73 | { | |
74 | } | |
75 | ||
76 | #endif // wxUSE_SOUND |