diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-03 17:00:48 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-03 17:00:48 +0300 |
commit | 2bda864bfb74be61f189d4c0855cf1cd6cd51327 (patch) | |
tree | f5c3544956e679dcc6927faadd5003a964cd5b32 /audio/telephony-dummy.c | |
parent | 86340d34bb4786f6a657e74936e2639e6d041504 (diff) |
Preliminary support for indicators
Diffstat (limited to 'audio/telephony-dummy.c')
-rw-r--r-- | audio/telephony-dummy.c | 23 |
1 files changed, 23 insertions, 0 deletions
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 <config.h> #endif +#include <stdlib.h> +#include <stdio.h> + #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; +} |