/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef mozilla_dom_MIDIIPCUtils_h #define mozilla_dom_MIDIIPCUtils_h #include "mozilla/dom/BindingIPCUtils.h" #include "mozilla/dom/MIDIPortBinding.h" namespace IPC { template <> struct ParamTraits : public mozilla::dom::WebIDLEnumSerializer {}; template <> struct ParamTraits : public mozilla::dom::WebIDLEnumSerializer< mozilla::dom::MIDIPortDeviceState> {}; template <> struct ParamTraits : public mozilla::dom::WebIDLEnumSerializer< mozilla::dom::MIDIPortConnectionState> {}; } // namespace IPC #endif // mozilla_dom_MIDIIPCUtils_h