From 3bb7bf627c5d0f8adb44fe8f0d9c88cc3fc8a070 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 4 Sep 2008 13:24:06 +0300 Subject: Implement basic event reporting support --- audio/telephony-dummy.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'audio/telephony-dummy.c') diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 8dec4a4b..59eacc89 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -28,9 +28,13 @@ #include #include +#include +#include #include "telephony.h" +static gboolean events_enabled = FALSE; + static struct indicator indicators[] = { { "battchg", "0-5", 5 }, @@ -57,6 +61,11 @@ struct indicator *telephony_indicators_req(void) return indicators; } +int telephony_set_event_reporting(int ind) +{ + events_enabled = ind == 1 ? TRUE : FALSE; +} + int telephony_init(void) { return 0; -- cgit