X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ff79b17b1f3e8117e23179340cf69a85b5fe61..0e320a79f187558effb04d92020b470372bbe456:/src/os2/wave.cpp diff --git a/src/os2/wave.cpp b/src/os2/wave.cpp new file mode 100644 index 0000000000..c25681858c --- /dev/null +++ b/src/os2/wave.cpp @@ -0,0 +1,61 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: wave.cpp +// Purpose: wxWave class implementation: optional +// Author: AUTHOR +// Modified by: +// Created: ??/??/98 +// RCS-ID: $Id$ +// Copyright: (c) AUTHOR +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifdef __GNUG__ +#pragma implementation "wave.h" +#endif + +#include "wx/object.h" +#include "wx/string.h" +#include "wx/stubs/wave.h" + +wxWave::wxWave() + : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE) +{ +} + +wxWave::wxWave(const wxString& sFileName, bool isResource) + : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE) +{ + Create(sFileName, isResource); +} + + +wxWave::~wxWave() +{ + Free(); +} + +bool wxWave::Create(const wxString& fileName, bool isResource) +{ + Free(); + + // TODO + + return FALSE; +} + +bool wxWave::Play(bool async, bool looped) const +{ + if (!IsOk()) + return FALSE; + + // TODO + return FALSE; +} + +bool wxWave::Free() +{ + // TODO + return FALSE; +} + +