HalIPCUtils.h (714B)
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/. */ 6 7 #ifndef mozilla_HalIPCUtils_h 8 #define mozilla_HalIPCUtils_h 9 10 #include "HalScreenConfiguration.h" 11 12 #include "ipc/EnumSerializer.h" 13 14 namespace IPC { 15 16 template <> 17 struct ParamTraits<mozilla::hal::ScreenOrientation> 18 : public BitFlagsEnumSerializer<mozilla::hal::ScreenOrientation, 19 mozilla::hal::kAllScreenOrientationBits> {}; 20 21 } // namespace IPC 22 23 #endif