Bug 1523562 [wpt PR 15079] - Pass the full path to the flake8 config files, a=testonly
[gecko.git] / dom / midi / PMIDIPort.ipdl
blobebdb9c644d5c776bcfff6afeb81eb760d16eb0a1
1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
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 file,
5  * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 include protocol PBackground;
8 include MIDITypes;
10 namespace mozilla {
11 namespace dom {
13 async protocol PMIDIPort
15   manager PBackground;
16 parent:
17   async Shutdown();
18   async Send(MIDIMessage[] msg);
19   async Open();
20   async Close();
21   async Clear();
22 child:
23   async Receive(MIDIMessage[] msg);
24   // Actually takes a MIDIDeviceConnectionState and MIDIPortConnectionState
25   // respectively.
26   async UpdateStatus(uint32_t deviceState, uint32_t connectionState);
27   async __delete__();