Chromium Code Reviews| 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_; | |
|
scherkus (not reviewing)
2013/06/13 02:05:41
public struct members can leave off the trailing _
Chris Rogers
2013/06/14 00:47:33
Done.
| |
| 28 std::string manufacturer_; | |
| 29 std::string name_; | |
| 30 std::string version_; | |
| 31 }; | |
| 32 | |
| 33 typedef std::vector<MIDIPortInfo> MIDIPortInfoList; | |
| 34 | |
| 35 } // namespace media | |
| 36 | |
| 37 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_ | |
| OLD | NEW |