OSDN Git Service

リセット
[momiji/momiji_main.git] / Core / Momiji.Core.MMDeviceAPI.h
1 /*
2 [momiji music component library]
3 ---------------------------------------------------------------------
4 Momiji.Core.Ks.h
5         kernel streaming
6 ---------------------------------------------------------------------
7 Copyright (C) 2011 tyiki badwell {miria@users.sourceforge.jp}.
8
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program.  If not, see <http://www.gnu.org/licenses/gpl-3.0.html>.
21 ---------------------------------------------------------------------
22 */
23 #pragma once
24
25 #using <mscorlib.dll>
26
27 #include "Momiji.Interop.Guiddef.h"
28
29 using namespace System::Runtime;
30
31 namespace Momiji{
32 namespace Core {
33 namespace MMDeviceAPI {
34
35         public ref class Devices
36         {
37         public:
38                 ref class Detail
39                 {
40                 private:
41                         Interop::MMDeviceAPI::IMMDevice^        _mmDevice;
42
43
44                 public:
45                         Detail(
46                                 Devices^ devices,
47                                 System::UInt32 index
48                         );
49                         ~Detail();
50
51                 protected:
52                         !Detail();
53
54                 };
55
56         public:
57                 Devices(
58                         Interop::MMDeviceAPI::EDataFlow dataFlow
59                 );
60
61                 ~Devices();
62         protected:
63                 !Devices();
64         };
65
66 }
67 }
68 }