diff options
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; +} |