From 594371dfb7d28be30681dd5962d24ffcf43d6ba6 Mon Sep 17 00:00:00 2001 From: Gabriele Svelto Date: Mon, 11 Jun 2018 00:22:56 +0200 Subject: Remove unused code for managing physical audio devices. This was only used in B2G/Gonk and can go. --- hal/Hal.h | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'hal/Hal.h') diff --git a/hal/Hal.h b/hal/Hal.h index e45bbcde2..224b4c451 100644 --- a/hal/Hal.h +++ b/hal/Hal.h @@ -401,37 +401,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. -- cgit v1.2.3