OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MEDIA_MIDI_MIDI_PORT_INFO_H_ | |
6 #define MEDIA_MIDI_MIDI_PORT_INFO_H_ | |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | |
11 #include "base/basictypes.h" | |
12 #include "media/base/media_export.h" | |
13 | |
14 namespace media { | |
15 | |
16 struct MEDIA_EXPORT MIDIPortInfo { | |
17 MIDIPortInfo(const std::string& id, | |
18 const std::string& manufacturer, | |
19 const std::string& name, | |
20 const std::string& version); | |
21 | |
22 MIDIPortInfo(const MIDIPortInfo& info); | |
23 ~MIDIPortInfo(); | |
24 | |
25 void Print() const; | |
26 | |
27 std::string id_; | |
28 std::string manufacturer_; | |
29 std::string name_; | |
30 std::string version_; | |
31 }; | |
32 | |
33 // Would rather use typedef, but seems hard to forward declare. | |
scherkus (not reviewing)
2013/06/12 01:28:47
are you trying to avoid including this .h in multi
Chris Rogers
2013/06/12 20:34:35
I think I was trying to avoid including it in "med
| |
34 class MIDIPortInfoList : public std::vector<MIDIPortInfo> { | |
35 }; | |
36 | |
37 } // namespace media | |
38 | |
39 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_ | |
OLD | NEW |