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.
5 #ifndef MEDIA_MIDI_MIDI_PORT_INFO_H_
6 #define MEDIA_MIDI_MIDI_PORT_INFO_H_
11 #include "base/basictypes.h"
12 #include "media/midi/midi_export.h"
18 MIDI_PORT_DISCONNECTED
,
21 MIDI_PORT_STATE_LAST
= MIDI_PORT_OPENED
,
24 struct MIDI_EXPORT MidiPortInfo final
{
26 MidiPortInfo(const std::string
& in_id
,
27 const std::string
& in_manufacturer
,
28 const std::string
& in_name
,
29 const std::string
& in_version
,
30 MidiPortState in_state
);
32 MidiPortInfo(const MidiPortInfo
& info
);
36 std::string manufacturer
;
42 using MidiPortInfoList
= std::vector
<MidiPortInfo
>;
47 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_