Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / midi / MIDITypes.ipdlh
blob0508f171a8fa3355fe94b1cd3de14370b12edfff
1 /* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8 -*- */
2 /* vim: set sw=4 ts=8 et tw=80 ft=cpp : */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 using mozilla::TimeStamp from "mozilla/TimeStamp.h";
9 namespace mozilla {
10 namespace dom {
12 [Comparable] struct MIDIPortInfo {
13     nsString id;
14     nsString name;
15     nsString manufacturer;
16     nsString version;
17     //Actually a MIDIPortType enum
18     uint32_t type;
21 struct MIDIMessage {
22     uint8_t[] data;
23     TimeStamp timestamp;
26 struct MIDIPortList {
27     MIDIPortInfo[] ports;
30 } // namespace dom
31 } // namespace mozilla