include: Add callsetup, call and callheld
authorFrédéric Danis <frederic.danis@linux.intel.com>
Thu, 7 Apr 2011 16:33:53 +0000 (18:33 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 11 Apr 2011 15:28:12 +0000 (10:28 -0500)
as indicators for HFP emulator

include/emulator.h

index 71b7c24..5cd894b 100644 (file)
@@ -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;