]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/sound.cpp
Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG...
[wxWidgets.git] / src / palmos / sound.cpp
CommitLineData
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
29wxSound::wxSound()
30 : m_waveData(NULL), m_waveLength(0), m_isResource(false)
31{
32}
33
34wxSound::wxSound(const wxString& sFileName, bool isResource)
35 : m_waveData(NULL), m_waveLength(0), m_isResource(isResource)
36{
37}
38
39wxSound::wxSound(int size, const wxByte* data)
40 : m_waveData(NULL), m_waveLength(0), m_isResource(false)
41{
42}
43
44wxSound::~wxSound()
45{
46}
47
48bool wxSound::Create(const wxString& fileName, bool isResource)
49{
50 return false;
51}
52
53bool wxSound::Create(int size, const wxByte* data)
54{
55 return false;
56}
57
58bool wxSound::DoPlay(unsigned flags) const
59{
60 return false;
61}
62
63bool wxSound::Free()
64{
65 return false;
66}
67
68/*static*/ void wxSound::Stop()
69{
70}
71
72#endif // wxUSE_SOUND