]> git.saurik.com Git - wxWidgets.git/blame - src/motif/wave.cpp
Added lots of files. Enough now so that all wxHTML samples link.
[wxWidgets.git] / src / motif / wave.cpp
CommitLineData
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"
5dcf05ae 18#include "wx/motif/wave.h"
4bb6408c
JS
19
20wxWave::wxWave()
02e8b2f9 21 : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE)
4bb6408c
JS
22{
23}
24
25wxWave::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
32wxWave::~wxWave()
33{
34 Free();
35}
36
37bool wxWave::Create(const wxString& fileName, bool isResource)
38{
39 Free();
40
41 // TODO
42
43 return FALSE;
44}
45
46bool wxWave::Play(bool async, bool looped) const
47{
48 if (!IsOk())
49 return FALSE;
50
51 // TODO
52 return FALSE;
53}
54
55bool wxWave::Free()
56{
57 // TODO
58 return FALSE;
59}
60
61