OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/midi/midi_port_info.h" | 5 #include "media/midi/midi_port_info.h" |
6 | 6 |
7 namespace media { | |
8 namespace midi { | 7 namespace midi { |
9 | 8 |
10 MidiPortInfo::MidiPortInfo() {} | 9 MidiPortInfo::MidiPortInfo() {} |
11 | 10 |
12 MidiPortInfo::MidiPortInfo(const std::string& in_id, | 11 MidiPortInfo::MidiPortInfo(const std::string& in_id, |
13 const std::string& in_manufacturer, | 12 const std::string& in_manufacturer, |
14 const std::string& in_name, | 13 const std::string& in_name, |
15 const std::string& in_version, | 14 const std::string& in_version, |
16 MidiPortState in_state) | 15 MidiPortState in_state) |
17 : id(in_id), | 16 : id(in_id), |
18 manufacturer(in_manufacturer), | 17 manufacturer(in_manufacturer), |
19 name(in_name), | 18 name(in_name), |
20 version(in_version), | 19 version(in_version), |
21 state(in_state) {} | 20 state(in_state) {} |
22 | 21 |
23 MidiPortInfo::~MidiPortInfo() {} | 22 MidiPortInfo::~MidiPortInfo() {} |
24 | 23 |
25 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info) | 24 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info) |
26 : id(info.id), | 25 : id(info.id), |
27 manufacturer(info.manufacturer), | 26 manufacturer(info.manufacturer), |
28 name(info.name), | 27 name(info.name), |
29 version(info.version), | 28 version(info.version), |
30 state(info.state) {} | 29 state(info.state) {} |
31 | 30 |
32 } // namespace midi | 31 } // namespace midi |
33 } // namespace media | |
OLD | NEW |