From 2bda864bfb74be61f189d4c0855cf1cd6cd51327 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 3 Sep 2008 17:00:48 +0300 Subject: Preliminary support for indicators --- audio/telephony-dummy.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'audio/telephony-dummy.c') diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index 9d07f56a..5a9f244d 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -26,8 +26,26 @@ #include #endif +#include +#include + #include "telephony.h" +static struct indicator indicators[] = +{ + { "battchg", "0-5", 5 }, + { "signal", "0-5", 5 }, + { "service", "0,1", 1 }, + { "sounder", "0,1", 0 }, + { "message", "0,1", 0 }, + { "call", "0,1", 0 }, + { "callsetup", "0-3", 0 }, + { "vox", "0,1", 0 }, + { "roam", "0,1", 0 }, + { "smsfull", "0,1", 0 }, + { NULL } +}; + int telephony_init(void) { return 0; @@ -45,3 +63,8 @@ int telephony_features_req(void) return 0; } + +struct indicator *telephony_indicators_req(void) +{ + return indicators; +} -- cgit