]>
Commit | Line | Data |
---|---|---|
4bb6408c JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wave.cpp | |
3 | // Purpose: wxWave class implementation: optional | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 17/09/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifdef __GNUG__ | |
13 | #pragma implementation "wave.h" | |
14 | #endif | |
15 | ||
16 | #include "wx/object.h" | |
17 | #include "wx/string.h" | |
18 | #include "wx/stubs/wave.h" | |
19 | ||
20 | wxWave::wxWave() | |
02e8b2f9 | 21 | : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE) |
4bb6408c JS |
22 | { |
23 | } | |
24 | ||
25 | wxWave::wxWave(const wxString& sFileName, bool isResource) | |
02e8b2f9 | 26 | : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE) |
4bb6408c JS |
27 | { |
28 | Create(sFileName, isResource); | |
29 | } | |
30 | ||
31 | ||
32 | wxWave::~wxWave() | |
33 | { | |
34 | Free(); | |
35 | } | |
36 | ||
37 | bool wxWave::Create(const wxString& fileName, bool isResource) | |
38 | { | |
39 | Free(); | |
40 | ||
41 | // TODO | |
42 | ||
43 | return FALSE; | |
44 | } | |
45 | ||
46 | bool wxWave::Play(bool async, bool looped) const | |
47 | { | |
48 | if (!IsOk()) | |
49 | return FALSE; | |
50 | ||
51 | // TODO | |
52 | return FALSE; | |
53 | } | |
54 | ||
55 | bool wxWave::Free() | |
56 | { | |
57 | // TODO | |
58 | return FALSE; | |
59 | } | |
60 | ||
61 |