summaryrefslogtreecommitdiffstats
path: root/include/emulator.h
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-02-23 16:48:48 +0100
committerDenis Kenzior <denkenz@gmail.com>2011-02-23 09:58:40 -0600
commitf3496af01906f955cb01ac574b998c6a9ae8ad10 (patch)
treee7595f32a4d07d77ceb12ac72a4023cb11b4697c /include/emulator.h
parentd1062d0e4e09f7e5bf8479853fd84373daf86e9c (diff)
downloadofono-f3496af01906f955cb01ac574b998c6a9ae8ad10.tar.bz2
emulator: add indicator support API
Diffstat (limited to 'include/emulator.h')
-rw-r--r--include/emulator.h11
1 files changed, 11 insertions, 0 deletions
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 <ofono/types.h>
+#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