summaryrefslogtreecommitdiffstats
path: root/audio/headset.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-12-12 21:05:31 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-12-12 21:05:31 +0000
commite83ac56743aa266dbb05b7f8102ae0c73bd1bddf (patch)
treefed3dfe856c10fdc78260ae0afebde85ed50d16a /audio/headset.h
parent28d439d57877be7fc541c406e976f063844915a2 (diff)
Add initial mechanism to handle headset commands.
Diffstat (limited to 'audio/headset.h')
-rw-r--r--audio/headset.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/audio/headset.h b/audio/headset.h
index b151dbd9..179c8a4a 100644
--- a/audio/headset.h
+++ b/audio/headset.h
@@ -28,13 +28,6 @@
#define DEFAULT_HF_AG_CHANNEL 13
typedef enum {
- HEADSET_EVENT_KEYPRESS,
- HEADSET_EVENT_GAIN,
- HEADSET_EVENT_UNKNOWN,
- HEADSET_EVENT_INVALID
-} headset_event_t;
-
-typedef enum {
HEADSET_STATE_DISCONNECTED,
HEADSET_STATE_CONNECT_IN_PROGRESS,
HEADSET_STATE_CONNECTED,
@@ -84,3 +77,4 @@ gboolean headset_lock(struct device *dev, headset_lock_t lock);
gboolean headset_unlock(struct device *dev, headset_lock_t lock);
gboolean headset_suspend(struct device *dev, void *data);
gboolean headset_play(struct device *dev, void *data);
+