summaryrefslogtreecommitdiffstats
path: root/include/emulator.h
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-04-07 18:33:53 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-04-11 10:28:12 -0500
commitf9814a9731b03cec55babffc8d113625bb8b4b87 (patch)
tree77bc5c7958165dc11087a250e4f1e84184c1f77f /include/emulator.h
parent3731598142f3a0018a47753504a0625efd808812 (diff)
downloadofono-f9814a9731b03cec55babffc8d113625bb8b4b87.tar.bz2
include: Add callsetup, call and callheld
as indicators for HFP emulator
Diffstat (limited to 'include/emulator.h')
-rw-r--r--include/emulator.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/emulator.h b/include/emulator.h
index 71b7c240..5cd894bc 100644
--- a/include/emulator.h
+++ b/include/emulator.h
@@ -36,6 +36,18 @@ extern "C" {
#define OFONO_EMULATOR_IND_SERVICE "service"
#define OFONO_EMULATOR_IND_SIGNAL "signal"
+#define OFONO_EMULATOR_CALL_INACTIVE 0
+#define OFONO_EMULATOR_CALL_ACTIVE 1
+
+#define OFONO_EMULATOR_CALLSETUP_INACTIVE 0
+#define OFONO_EMULATOR_CALLSETUP_INCOMING 1
+#define OFONO_EMULATOR_CALLSETUP_OUTGOING 2
+#define OFONO_EMULATOR_CALLSETUP_ALERTING 3
+
+#define OFONO_EMULATOR_CALLHELD_NONE 0
+#define OFONO_EMULATOR_CALLHELD_MULTIPLE 1
+#define OFONO_EMULATOR_CALLHELD_ON_HOLD 2
+
struct ofono_emulator;
struct ofono_emulator_request;