Sun, 29 Sep 2019 02:58:05 -0500
Clean up all of the license headers
|
39887
9c8f874c74a0
Clean up all of the license headers
Gary Kramlich <grim@reaperworld.com>
parents:
39885
diff
changeset
|
1 | /* |
|
9c8f874c74a0
Clean up all of the license headers
Gary Kramlich <grim@reaperworld.com>
parents:
39885
diff
changeset
|
2 | * finch |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
3 | * |
|
15931
716b5fac1895
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@pidgin.im>
parents:
15906
diff
changeset
|
4 | * Finch is the legal property of its developers, whose names are too numerous |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
6 | * source distribution. |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
7 | * |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
11 | * (at your option) any later version. |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
12 | * |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
16 | * GNU General Public License for more details. |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
17 | * |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19612
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
22 | |
|
39885
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39882
diff
changeset
|
23 | #ifndef FINCH_CONV_H |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39882
diff
changeset
|
24 | #define FINCH_CONV_H |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39882
diff
changeset
|
25 | |
|
35449
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
26 | /** |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
27 | * SECTION:gntconv |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
28 | * @section_id: finch-gntconv |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
29 | * @short_description: <filename>gntconv.h</filename> |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
30 | * @title: Conversation API |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
31 | */ |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
32 | |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
33 | #include <gnt.h> |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
34 | #include <gntwidget.h> |
|
19453
4de383712964
I broke the build. Sorry :(
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18155
diff
changeset
|
35 | #include <gntmenuitem.h> |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
36 | |
|
13947
a77f6f615c20
[gaim-migrate @ 16365]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
37 | #include "conversation.h" |
|
a77f6f615c20
[gaim-migrate @ 16365]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
38 | |
| 18155 | 39 | /* Grabs the conv out of a PurpleConverstation */ |
|
34681
1b2233f987cb
Backed out changeset f39c64847a3d
Ankit Vani <a@nevitus.org>
parents:
34680
diff
changeset
|
40 | #define FINCH_CONV(conv) ((FinchConv *)purple_conversation_get_ui_data(conv)) |
| 18155 | 41 | |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
42 | /*************************************************************************** |
| 35472 | 43 | * GNT Conversations API |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
44 | ***************************************************************************/ |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
45 | |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
46 | typedef struct _FinchConv FinchConv; |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
47 | typedef struct _FinchConvChat FinchConvChat; |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
48 | typedef struct _FinchConvIm FinchConvIm; |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
49 | |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
50 | /** |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
51 | * FinchConversationFlag: |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
52 | * @FINCH_CONV_NO_SOUND: A flag to mute a conversation. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
53 | * |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
54 | * Flags that can be set for each conversation. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
55 | */ |
|
19612
043dcbf3a36e
Fix #2767 (per-conversation/chat mute option).
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19453
diff
changeset
|
56 | typedef enum |
|
043dcbf3a36e
Fix #2767 (per-conversation/chat mute option).
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19453
diff
changeset
|
57 | { |
|
043dcbf3a36e
Fix #2767 (per-conversation/chat mute option).
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19453
diff
changeset
|
58 | FINCH_CONV_NO_SOUND = 1 << 0, |
|
043dcbf3a36e
Fix #2767 (per-conversation/chat mute option).
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19453
diff
changeset
|
59 | } FinchConversationFlag; |
|
043dcbf3a36e
Fix #2767 (per-conversation/chat mute option).
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19453
diff
changeset
|
60 | |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
61 | /** |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
62 | * FinchConv: |
|
39882
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
63 | * @list: A list of conversations being displayed in this window. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
64 | * @active_conv: The active conversation. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
65 | * @window: The #GntWindow for the conversation. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
66 | * @entry: The #GntEntry for input. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
67 | * @tv: The #GntTextView that displays the history. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
68 | * @menu: The menu for the conversation. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
69 | * @info: The info widget that shows the information about the conversation. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
70 | * @plugins: The #GntMenuItem for plugins. |
|
b1771599b93b
Finish documenting FinchConv
Gary Kramlich <grim@reaperworld.com>
parents:
39881
diff
changeset
|
71 | * @flags: The flags for the conversation. |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
72 | * |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
73 | * A Finch conversation. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
74 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
75 | struct _FinchConv |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
76 | { |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
77 | GList *list; |
| 15884 | 78 | PurpleConversation *active_conv; |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
79 | |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
80 | GntWidget *window; /* the container */ |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
81 | GntWidget *entry; /* entry */ |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
82 | GntWidget *tv; /* text-view */ |
|
19453
4de383712964
I broke the build. Sorry :(
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18155
diff
changeset
|
83 | GntWidget *menu; |
|
16190
435e34f11655
Allow adding information widgets in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15931
diff
changeset
|
84 | GntWidget *info; |
|
32849
bffb3866bbde
Add support for conversation-extended signals in Finch.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32254
diff
changeset
|
85 | GntMenuItem *plugins; |
|
19612
043dcbf3a36e
Fix #2767 (per-conversation/chat mute option).
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
19453
diff
changeset
|
86 | FinchConversationFlag flags; |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
87 | |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
88 | union |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
89 | { |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
90 | FinchConvChat *chat; |
|
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
91 | FinchConvIm *im; |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
92 | } u; |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
93 | }; |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
94 | |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
95 | /** |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
96 | * FinchConvChat: |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
97 | * @userlist: The widget that displays the users in the chat. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
98 | * |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
99 | * The chat specific implementation for a conversation. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
100 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
101 | struct _FinchConvChat |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
102 | { |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
103 | GntWidget *userlist; /* the userlist */ |
|
35917
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
104 | |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
105 | /*< private >*/ |
|
35917
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
106 | void *finch_reserved1; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
107 | void *finch_reserved2; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
108 | void *finch_reserved3; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
109 | void *finch_reserved4; |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
110 | }; |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
111 | |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
112 | /** |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
113 | * FinchConvIm: |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
114 | * @sendto: The sendto widget which allows the user to select who they're |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
115 | * messaging. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
116 | * @e2ee_menu: The end-to-end-encryption widget which lets the user configure |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
117 | * the encryption. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
118 | * |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
119 | * The instant message implementation for a conversation. |
|
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
120 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
121 | struct _FinchConvIm |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
122 | { |
|
19453
4de383712964
I broke the build. Sorry :(
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
18155
diff
changeset
|
123 | GntMenuItem *sendto; |
|
35917
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
124 | GntMenuItem *e2ee_menu; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
125 | |
|
39881
746ceb1d6966
A few random finch doc cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
37140
diff
changeset
|
126 | /*< private >*/ |
|
35917
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
127 | void *finch_reserved1; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
128 | void *finch_reserved2; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
129 | void *finch_reserved3; |
|
76b701912a9d
Finch-OTR: implement e2ee conversation menu
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35487
diff
changeset
|
130 | void *finch_reserved4; |
|
14777
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
131 | }; |
|
c0ad17caf8ad
[gaim-migrate @ 17469]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14620
diff
changeset
|
132 | |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
133 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
134 | * finch_conv_get_ui_ops: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
135 | * |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
136 | * Get the ui-functions. |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
137 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34681
diff
changeset
|
138 | * Returns: The PurpleConversationUiOps populated with the appropriate functions. |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
139 | */ |
| 15884 | 140 | PurpleConversationUiOps *finch_conv_get_ui_ops(void); |
|
14260
a21577fbb4d2
[gaim-migrate @ 16870]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
13969
diff
changeset
|
141 | |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
142 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
143 | * finch_conversation_init: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
144 | * |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
145 | * Perform the necessary initializations. |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
146 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
147 | void finch_conversation_init(void); |
|
13947
a77f6f615c20
[gaim-migrate @ 16365]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
148 | |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
149 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
150 | * finch_conversation_uninit: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
151 | * |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
152 | * Perform the necessary uninitializations. |
|
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
153 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
14777
diff
changeset
|
154 | void finch_conversation_uninit(void); |
|
13969
0541f389442e
[gaim-migrate @ 16402]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
13947
diff
changeset
|
155 | |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
156 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
157 | * finch_conversation_set_active: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
158 | * @conv: The conversation to make active. |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
159 | * |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
160 | * Set a conversation as active in a contactized conversation |
|
14620
90d599495d65
[gaim-migrate @ 17281]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14450
diff
changeset
|
161 | */ |
| 15884 | 162 | void finch_conversation_set_active(PurpleConversation *conv); |
|
14450
1ac2b6e98ef8
[gaim-migrate @ 17094]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14260
diff
changeset
|
163 | |
|
16190
435e34f11655
Allow adding information widgets in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15931
diff
changeset
|
164 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
165 | * finch_conversation_set_info_widget: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34681
diff
changeset
|
166 | * @conv: The conversation. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34681
diff
changeset
|
167 | * @widget: The widget containing the information. If %NULL, |
|
16190
435e34f11655
Allow adding information widgets in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15931
diff
changeset
|
168 | * the current information widget is removed. |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
169 | * |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
170 | * Sets the information widget for the conversation window. |
|
16190
435e34f11655
Allow adding information widgets in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15931
diff
changeset
|
171 | */ |
|
435e34f11655
Allow adding information widgets in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15931
diff
changeset
|
172 | void finch_conversation_set_info_widget(PurpleConversation *conv, GntWidget *widget); |
|
435e34f11655
Allow adding information widgets in the conversation window.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15931
diff
changeset
|
173 | |
|
39885
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39882
diff
changeset
|
174 | #endif /* FINCH_CONV_H */ |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
39882
diff
changeset
|
175 |