OSDN Git Service

fix cmake/Macros.cmake
[moflib/moflib.git] / moflib-1.0 / src / mof / sound / WaveFile.hpp
1 #pragma once
2 #include "mof/sound/SoundFile.hpp"
3 #include "mof/sound/CWaveFile.h"
4 #include <mmsystem.h>
5 #include <mof/tstring.hpp>
6
7 namespace mof{
8         class WaveFile : public SoundFile
9         {
10                 CWaveFile* m_impl;
11         public:
12                 WaveFile(void);
13                 virtual ~WaveFile(void);
14
15                 virtual bool open(const mof::tstring& filename);
16                 virtual bool close();
17                 virtual long read( BYTE* pBuffer1, long bufferSize1 , BYTE* pBuffer2 , long bufferSize2 );
18                 virtual long getSize();
19                 virtual bool resetFile();
20                 virtual WAVEFORMATEX* getFormat();
21         };
22
23 };