aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_history.h')
-rw-r--r--src/conversation/gnunet-conversation-gtk_history.h73
1 files changed, 68 insertions, 5 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_history.h b/src/conversation/gnunet-conversation-gtk_history.h
index 4d6a7839..722555f5 100644
--- a/src/conversation/gnunet-conversation-gtk_history.h
+++ b/src/conversation/gnunet-conversation-gtk_history.h
@@ -33,11 +33,72 @@
33 */ 33 */
34enum GCG_HISTORY_Type 34enum GCG_HISTORY_Type
35{ 35{
36 GCG_HISTORY_TYPE_ACCEPTED, 36 /**
37 GCG_HISTORY_TYPE_REJECTED, 37 * We initiated an outgoing call.
38 GCG_HISTORY_TYPE_OUTGOING, 38 */
39 GCG_HISTORY_TYPE_OUTGOING_CALL,
40
41 /**
42 * We are ringing other party in outgoing call.
43 */
44 GCG_HISTORY_TYPE_OUTGOING_RINGING,
45
46 /**
47 * An outgoing call was accepted.
48 */
49 GCG_HISTORY_TYPE_OUTGOING_ACCEPTED,
50
51 /**
52 * We have an incoming call.
53 */
54 GCG_HISTORY_TYPE_INCOMING_CALL,
55
56 /**
57 * We answered an incoming call.
58 */
59 GCG_HISTORY_TYPE_INCOMING_ACCEPTED,
60
61 /**
62 * We rejected an incoming call.
63 */
64 GCG_HISTORY_TYPE_INCOMING_REJECTED,
65
66 /**
67 * We missed a call (phone was ringing and
68 * then caller hung up before we did anything).
69 */
70 GCG_HISTORY_TYPE_INCOMING_MISSED,
71
72 /**
73 * We suspended an active call.
74 */
75 GCG_HISTORY_TYPE_SUSPEND_LOCAL,
76
77 /**
78 * We resumed a suspended call.
79 */
80 GCG_HISTORY_TYPE_RESUMED_LOCAL,
81
82 /**
83 * Remote suspended an active call.
84 */
85 GCG_HISTORY_TYPE_SUSPEND_REMOTE,
86
87 /**
88 * Remote resumed suspended call.
89 */
90 GCG_HISTORY_TYPE_RESUMED_REMOTE,
91
92 /**
93 * Either side terminated an active call.
94 */
39 GCG_HISTORY_TYPE_HANGUP, 95 GCG_HISTORY_TYPE_HANGUP,
40 GCG_HISTORY_TYPE_MISSED 96
97 /**
98 * Failed to resolve target.
99 */
100 GCG_HISTORY_TYPE_FAILED
101
41}; 102};
42 103
43 104
@@ -46,10 +107,12 @@ enum GCG_HISTORY_Type
46 * 107 *
47 * @param type type of the event 108 * @param type type of the event
48 * @param contact_name name of the contact person 109 * @param contact_name name of the contact person
110 * @param call_number unique number for the call
49 */ 111 */
50void 112void
51GCG_HISTORY_add (enum GCG_HISTORY_Type type, 113GCG_HISTORY_add (enum GCG_HISTORY_Type type,
52 const char *contact_name); 114 const char *contact_name,
115 guint call_number);
53 116
54 117
55/** 118/**