]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/sound.h
c76063757c8af15ad81dae2437b6ddac223afca9
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/sound.h
3 // Purpose: wxSound class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
17 #include "wx/object.h"
19 class WXDLLIMPEXP_ADV wxSound
: public wxSoundBase
23 wxSound(const wxString
& fileName
, bool isResource
= false);
24 wxSound(size_t size
, const void* data
);
28 // Create from resource or file
29 bool Create(const wxString
& fileName
, bool isResource
= false);
31 bool Create(size_t size
, const void* data
);
33 bool IsOk() const { return (m_waveData
? true : false); }
40 bool DoPlay(unsigned flags
) const;
47 wxDECLARE_NO_COPY_CLASS(wxSound
);