/////////////////////////////////////////////////////////////////////////////
-// Name: sound.h
+// Name: wx/palmos/sound.h
// Purpose: wxSound class
-// Author: William Osborne
+// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_SOUND_H_
#define _WX_SOUND_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "sound.h"
-#endif
-
#if wxUSE_SOUND
#include "wx/object.h"
wxSound();
wxSound(const wxString& fileName, bool isResource = false);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
public:
// Create from resource or file
bool Create(int size, const wxByte* data);
bool IsOk() const { return (m_waveData ? true : false); };
-
+
static void Stop();
protected:
bool Free();
-
+
bool DoPlay(unsigned flags) const;
private: