Bug 1889091 - Part 3: Specialize calls to native functions with variadic parameters...
[gecko.git] / hal / HalIPCUtils.h
blob5a3f15e5733a5656a2ebfa3786611e30f151cdbb
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et 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 file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_HalIPCUtils_h
8 #define mozilla_HalIPCUtils_h
10 #include "HalScreenConfiguration.h"
12 #include "ipc/EnumSerializer.h"
14 namespace IPC {
16 template <>
17 struct ParamTraits<mozilla::hal::ScreenOrientation>
18 : public BitFlagsEnumSerializer<mozilla::hal::ScreenOrientation,
19 mozilla::hal::kAllScreenOrientationBits> {};
21 } // namespace IPC
23 #endif