From f3496af01906f955cb01ac574b998c6a9ae8ad10 Mon Sep 17 00:00:00 2001 From: Frédéric Danis Date: Wed, 23 Feb 2011 16:48:48 +0100 Subject: emulator: add indicator support API --- include/emulator.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/emulator.h') diff --git a/include/emulator.h b/include/emulator.h index 12477f04..71b7c240 100644 --- a/include/emulator.h +++ b/include/emulator.h @@ -28,6 +28,14 @@ extern "C" { #include +#define OFONO_EMULATOR_IND_BATTERY "battchg" +#define OFONO_EMULATOR_IND_CALL "call" +#define OFONO_EMULATOR_IND_CALLHELD "callheld" +#define OFONO_EMULATOR_IND_CALLSETUP "callsetup" +#define OFONO_EMULATOR_IND_ROAMING "roam" +#define OFONO_EMULATOR_IND_SERVICE "service" +#define OFONO_EMULATOR_IND_SIGNAL "signal" + struct ofono_emulator; struct ofono_emulator_request; @@ -82,6 +90,9 @@ const char *ofono_emulator_request_get_raw(struct ofono_emulator_request *req); enum ofono_emulator_request_type ofono_emulator_request_get_type( struct ofono_emulator_request *req); +void ofono_emulator_set_indicator(struct ofono_emulator *em, + const char *name, int value); + #ifdef __cplusplus } #endif -- cgit v1.2.3