summaryrefslogtreecommitdiffstats
path: root/hal/Hal.h
diff options
context:
space:
mode:
authorGabriele Svelto <gsvelto@mozilla.com>2018-06-11 00:22:56 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-29 08:23:41 +0200
commit63522e8e280a1b76a96be6095e8f9d92882a45e7 (patch)
tree89a64bca6417641f5a56c16e83b9d5eb2f77eb6f /hal/Hal.h
parent9836c7e10440364f3516c9a29e351cba92237b61 (diff)
downloadUXP-63522e8e280a1b76a96be6095e8f9d92882a45e7.tar
UXP-63522e8e280a1b76a96be6095e8f9d92882a45e7.tar.gz
UXP-63522e8e280a1b76a96be6095e8f9d92882a45e7.tar.lz
UXP-63522e8e280a1b76a96be6095e8f9d92882a45e7.tar.xz
UXP-63522e8e280a1b76a96be6095e8f9d92882a45e7.zip
Remove unused code for managing physical audio devices.
This was only used in B2G/Gonk and can go.
Diffstat (limited to 'hal/Hal.h')
-rw-r--r--hal/Hal.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/hal/Hal.h b/hal/Hal.h
index e45bbcde2..224b4c451 100644
--- a/hal/Hal.h
+++ b/hal/Hal.h
@@ -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.
*