OSDN Git Service

fix build system ofmoflib1 and saisei1
[moflib/moflib.git] / moflib-1.0 / src / mof / sound / sound_recoder.hpp
1 #pragma once
2 #include <mof/tstring.hpp>
3 #include <memory>
4 #include <boost/utility.hpp>
5
6 namespace mof
7 {
8 namespace sound
9 {
10         class DirectSoundDevice;
11
12         class sound_recoder : boost::noncopyable
13         {
14         public:
15                 typedef std::shared_ptr<sound_recoder> ptr;
16
17                 sound_recoder();
18                 explicit sound_recoder(const tstring& filename);
19                 ~sound_recoder();
20
21                 void open(const tstring& filename);
22         private:
23                 struct impl;
24                 std::unique_ptr<impl> pimpl_;
25         };
26
27 }// namespace sound
28 }// namespace mof