diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-18 08:24:24 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-18 08:24:24 +0200 |
commit | fc61780b35af913801d72086456f493f63197da6 (patch) | |
tree | f85891288a7bd988da9f0f15ae64e5c63f00d493 /hal/HalTypes.h | |
parent | 69f7f9e5f1475891ce11cc4f431692f965b0cd30 (diff) | |
parent | 50d3e596bbe89c95615f96eb71f6bc5be737a1db (diff) | |
download | UXP-2018.07.18.tar UXP-2018.07.18.tar.gz UXP-2018.07.18.tar.lz UXP-2018.07.18.tar.xz UXP-2018.07.18.zip |
Merge commit '50d3e596bbe89c95615f96eb71f6bc5be737a1db' into Basilisk-releasev2018.07.18
# Conflicts:
# browser/app/profile/firefox.js
# browser/components/preferences/jar.mn
Diffstat (limited to 'hal/HalTypes.h')
-rw-r--r-- | hal/HalTypes.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/hal/HalTypes.h b/hal/HalTypes.h index 5f0ad3ff7..dc29f0553 100644 --- a/hal/HalTypes.h +++ b/hal/HalTypes.h @@ -33,26 +33,6 @@ enum ShutdownMode { eHalShutdownMode_Count = 3 }; -class SwitchEvent; - -enum SwitchDevice { - SWITCH_DEVICE_UNKNOWN = -1, - SWITCH_HEADPHONES, - SWITCH_USB, - NUM_SWITCH_DEVICE -}; - -enum SwitchState { - SWITCH_STATE_UNKNOWN = -1, - SWITCH_STATE_ON, - SWITCH_STATE_OFF, - SWITCH_STATE_HEADSET, // Headphone with microphone - SWITCH_STATE_HEADPHONE, // without microphone - NUM_SWITCH_STATE -}; - -typedef Observer<SwitchEvent> SwitchObserver; - // Note that we rely on the order of this enum's entries. Higher priorities // should have larger int values. enum ProcessPriority { @@ -141,28 +121,6 @@ struct ParamTraits<mozilla::hal::WakeLockControl> mozilla::hal::NUM_WAKE_LOCK> {}; -/** - * Serializer for SwitchState - */ -template <> -struct ParamTraits<mozilla::hal::SwitchState>: - public ContiguousEnumSerializer< - mozilla::hal::SwitchState, - mozilla::hal::SWITCH_STATE_UNKNOWN, - mozilla::hal::NUM_SWITCH_STATE> { -}; - -/** - * Serializer for SwitchDevice - */ -template <> -struct ParamTraits<mozilla::hal::SwitchDevice>: - public ContiguousEnumSerializer< - mozilla::hal::SwitchDevice, - mozilla::hal::SWITCH_DEVICE_UNKNOWN, - mozilla::hal::NUM_SWITCH_DEVICE> { -}; - template <> struct ParamTraits<mozilla::hal::ProcessPriority>: public ContiguousEnumSerializer< |