summaryrefslogtreecommitdiffstats
path: root/audio/telephony-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r--audio/telephony-dummy.c9
1 files changed, 9 insertions, 0 deletions
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 <stdlib.h>
#include <stdio.h>
+#include <stdint.h>
+#include <glib.h>
#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;