emulator: add indicator support API

This commit is contained in:
Frédéric Danis 2011-02-23 16:48:48 +01:00 committed by Denis Kenzior
parent d1062d0e4e
commit f3496af019
1 changed files with 11 additions and 0 deletions

View File

@ -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