diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_history.h')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_history.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_history.h b/src/conversation/gnunet-conversation-gtk_history.h index 79a21946..4d6a7839 100644 --- a/src/conversation/gnunet-conversation-gtk_history.h +++ b/src/conversation/gnunet-conversation-gtk_history.h | |||
@@ -29,28 +29,27 @@ | |||
29 | 29 | ||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * FIXME: used? | 32 | * Event types used by the history. |
33 | */ | 33 | */ |
34 | enum CallHistoryType | 34 | enum GCG_HISTORY_Type |
35 | { | 35 | { |
36 | CH_ACCEPTED, | 36 | GCG_HISTORY_TYPE_ACCEPTED, |
37 | CH_REJECTED, | 37 | GCG_HISTORY_TYPE_REJECTED, |
38 | CH_OUTGOING, | 38 | GCG_HISTORY_TYPE_OUTGOING, |
39 | CH_HANGUP, | 39 | GCG_HISTORY_TYPE_HANGUP, |
40 | CH_MISSED | 40 | GCG_HISTORY_TYPE_MISSED |
41 | }; | 41 | }; |
42 | 42 | ||
43 | 43 | ||
44 | /** | 44 | /** |
45 | * Add an entry to the history. | 45 | * Add an entry to the history. |
46 | * | 46 | * |
47 | * FIXME: use `enum CallHistoryType` here? | 47 | * @param type type of the event |
48 | * @param type type of call: 0: accepted 1: rejected 2: outgoing call | 48 | * @param contact_name name of the contact person |
49 | * @param contactName name of the contact person | ||
50 | */ | 49 | */ |
51 | void | 50 | void |
52 | GCG_HISTORY_add (int type, | 51 | GCG_HISTORY_add (enum GCG_HISTORY_Type type, |
53 | char *contactName); | 52 | const char *contact_name); |
54 | 53 | ||
55 | 54 | ||
56 | /** | 55 | /** |