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/base/media_export.h"
17 MIDI_PORT_DISCONNECTED
,
20 MIDI_PORT_STATE_LAST
= MIDI_PORT_OPENED
,
23 struct MEDIA_EXPORT MidiPortInfo
{
25 MidiPortInfo(const std::string
& in_id
,
26 const std::string
& in_manufacturer
,
27 const std::string
& in_name
,
28 const std::string
& in_version
,
29 MidiPortState in_state
);
31 MidiPortInfo(const MidiPortInfo
& info
);
35 std::string manufacturer
;
41 typedef std::vector
<MidiPortInfo
> MidiPortInfoList
;
45 #endif // MEDIA_MIDI_MIDI_PORT_INFO_H_