diff options
Diffstat (limited to 'hal/Hal.h')
-rw-r--r-- | hal/Hal.h | 31 |
1 files changed, 0 insertions, 31 deletions
@@ -402,37 +402,6 @@ MOZ_MUST_USE bool LockScreenOrientation(const dom::ScreenOrientationInternal& aO void UnlockScreenOrientation(); /** - * Register an observer for the switch of given SwitchDevice. - * - * The observer will receive data whenever the data generated by the - * given switch. - */ -void RegisterSwitchObserver(hal::SwitchDevice aDevice, hal::SwitchObserver *aSwitchObserver); - -/** - * Unregister an observer for the switch of given SwitchDevice. - */ -void UnregisterSwitchObserver(hal::SwitchDevice aDevice, hal::SwitchObserver *aSwitchObserver); - -/** - * Notify the state of the switch. - * - * This API is internal to hal; clients shouldn't call it directly. - */ -void NotifySwitchChange(const hal::SwitchEvent& aEvent); - -/** - * Get current switch information. - */ -hal::SwitchState GetCurrentSwitchState(hal::SwitchDevice aDevice); - -/** - * Notify switch status change from input device. - */ -void NotifySwitchStateFromInputDevice(hal::SwitchDevice aDevice, - hal::SwitchState aState); - -/** * Register an observer that is notified when a programmed alarm * expires. * |