]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/palmos/sound.cpp
made more clear that GetItemRect() returns physical coords
[wxWidgets.git] / src / palmos / sound.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/sound.cpp
3// Purpose: wxSound
4// Author: William Osborne - minimal working wxPalmOS port
5// Modified by:
6// Created: 10/13/04
7// RCS-ID: $Id$
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
33wxSound::wxSound()
34 : m_waveData(NULL), m_waveLength(0), m_isResource(false)
35{
36}
37
38wxSound::wxSound(const wxString& sFileName, bool isResource)
39 : m_waveData(NULL), m_waveLength(0), m_isResource(isResource)
40{
41}
42
43wxSound::wxSound(int size, const wxByte* data)
44 : m_waveData(NULL), m_waveLength(0), m_isResource(false)
45{
46}
47
48wxSound::~wxSound()
49{
50}
51
52bool wxSound::Create(const wxString& fileName, bool isResource)
53{
54 return false;
55}
56
57bool wxSound::Create(int size, const wxByte* data)
58{
59 return false;
60}
61
62bool wxSound::DoPlay(unsigned flags) const
63{
64 return false;
65}
66
67bool wxSound::Free()
68{
69 return false;
70}
71
72/*static*/ void wxSound::Stop()
73{
74}
75
76#endif // wxUSE_SOUND