libpurple/conversations.h

Wed, 20 Jun 2018 02:13:44 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Wed, 20 Jun 2018 02:13:44 -0400
changeset 39181
f0cd633d86d4
parent 38716
b9bed228745a
child 39514
9c7715998bbc
permissions
-rw-r--r--

prefs: Add binding versions of pref widget functions.

These just bind settings to existing widgets and copy the saved value to
the widget, except for combos which are produced from runtime lists.
Those are populated in a similar way as before.

There are some extra _bind_ words that will probably be dropped once the
other functions are unused.

34595
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
1 /* purple
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
2 *
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
3 * Purple is the legal property of its developers, whose names are too numerous
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
5 * source distribution.
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
6 *
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
10 * (at your option) any later version.
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
11 *
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
15 * GNU General Public License for more details.
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
16 *
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
20 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
21
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
22 #ifndef _PURPLE_CONVERSATIONS_H_
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
23 #define _PURPLE_CONVERSATIONS_H_
35437
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
24 /**
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
25 * SECTION:conversations
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
26 * @section_id: libpurple-conversations
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
27 * @short_description: <filename>conversations.h</filename>
35444
a4ece5a5565a Use upper-case first letters
Ankit Vani <a@nevitus.org>
parents: 35437
diff changeset
28 * @title: Conversations Subsystem API
35437
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
29 * @see_also: <link linkend="chapter-signals-conversation">Conversation signals</link>
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
30 */
1f82cf8c8378 Add section blocks for conversation.h to dbus-server.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
31
34605
89e6c5346d63 Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents: 34600
diff changeset
32 #include "conversationtypes.h"
89e6c5346d63 Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents: 34600
diff changeset
33 #include "server.h"
34595
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
34
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
35 G_BEGIN_DECLS
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
36
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
37 /**************************************************************************/
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35444
diff changeset
38 /* Conversations Subsystem */
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
39 /**************************************************************************/
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
40
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
41 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
42 * purple_conversations_add:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
43 * @conv: The conversation.
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
44 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
45 * Adds a conversation to the list of conversations.
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
46 */
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
47 void purple_conversations_add(PurpleConversation *conv);
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
48
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
49 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
50 * purple_conversations_remove:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
51 * @conv: The conversation.
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
52 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
53 * Removes a conversation from the list of conversations.
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
54 */
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
55 void purple_conversations_remove(PurpleConversation *conv);
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
56
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
57 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
58 * purple_conversations_get_all:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
59 *
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
60 * Returns a list of all conversations.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
61 *
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
62 * This list includes both IMs and chats.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
63 *
38716
b9bed228745a Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 37094
diff changeset
64 * Returns: (element-type PurpleConversation) (transfer none): A GList of all conversations.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
65 */
34655
6a939719ea98 Replaced purple_conversations_get() with purple_conversations_get_all(), similar to other purple entities
Ankit Vani <a@nevitus.org>
parents: 34651
diff changeset
66 GList *purple_conversations_get_all(void);
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
67
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
68 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
69 * purple_conversations_get_ims:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
70 *
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
71 * Returns a list of all IMs.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
72 *
38716
b9bed228745a Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 37094
diff changeset
73 * Returns: (element-type PurpleIMConversation) (transfer none): All IMs.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
74 */
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
75 GList *purple_conversations_get_ims(void);
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
76
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
77 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
78 * purple_conversations_get_chats:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
79 *
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
80 * Returns a list of all chats.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
81 *
38716
b9bed228745a Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 37094
diff changeset
82 * Returns: (element-type PurpleChatConversation) (transfer none): All chats.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
83 */
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
84 GList *purple_conversations_get_chats(void);
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
85
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
86 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
87 * purple_conversations_find_with_account:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
88 * @name: The name of the conversation.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
89 * @account: The account associated with the conversation.
34600
3180ebbd06be Added GObject structures, moved things around, renamed functions as GObject methods.
Ankit Vani <a@nevitus.org>
parents: 34599
diff changeset
90 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
91 * Finds a conversation of any type with the specified name and Purple account.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
92 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
93 * Returns: The conversation if found, or %NULL otherwise.
34600
3180ebbd06be Added GObject structures, moved things around, renamed functions as GObject methods.
Ankit Vani <a@nevitus.org>
parents: 34599
diff changeset
94 */
34617
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
95 PurpleConversation *purple_conversations_find_with_account(const char *name,
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
96 const PurpleAccount *account);
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
97
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
98 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
99 * purple_conversations_find_im_with_account:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
100 * @name: The name of the conversation.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
101 * @account: The account associated with the conversation.
34617
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
102 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
103 * Finds an IM with the specified name and Purple account.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
104 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
105 * Returns: The conversation if found, or %NULL otherwise.
34617
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
106 */
34632
ebe6b2a60305 Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents: 34617
diff changeset
107 PurpleIMConversation *purple_conversations_find_im_with_account(const char *name,
34617
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
108 const PurpleAccount *account);
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
109
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
110 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
111 * purple_conversations_find_chat_with_account:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
112 * @name: The name of the conversation.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
113 * @account: The account associated with the conversation.
34617
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
114 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
115 * Finds a chat with the specified name and Purple account.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
116 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
117 * Returns: The conversation if found, or %NULL otherwise.
34617
89233fea4432 Added functions to find IM and Chat by account in the conversations API.
Ankit Vani <a@nevitus.org>
parents: 34605
diff changeset
118 */
34632
ebe6b2a60305 Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents: 34617
diff changeset
119 PurpleChatConversation *purple_conversations_find_chat_with_account(const char *name,
34600
3180ebbd06be Added GObject structures, moved things around, renamed functions as GObject methods.
Ankit Vani <a@nevitus.org>
parents: 34599
diff changeset
120 const PurpleAccount *account);
3180ebbd06be Added GObject structures, moved things around, renamed functions as GObject methods.
Ankit Vani <a@nevitus.org>
parents: 34599
diff changeset
121
3180ebbd06be Added GObject structures, moved things around, renamed functions as GObject methods.
Ankit Vani <a@nevitus.org>
parents: 34599
diff changeset
122 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
123 * purple_conversations_find_chat:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
124 * @gc: The purple_connection.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
125 * @id: The chat ID.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
126 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
127 * Finds a chat with the specified chat ID.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
128 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
129 * Returns: The chat conversation.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
130 */
34632
ebe6b2a60305 Changed all arguments and return types of Chat and IMs to PurpleChatConversation and PurpleIMConversation.
Ankit Vani <a@nevitus.org>
parents: 34617
diff changeset
131 PurpleChatConversation *purple_conversations_find_chat(const PurpleConnection *gc, int id);
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
132
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
133 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
134 * purple_conversations_set_ui_ops:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
135 * @ops: The UI conversation operations structure.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
136 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
137 * Sets the default conversation UI operations structure.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
138 */
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
139 void purple_conversations_set_ui_ops(PurpleConversationUiOps *ops);
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
140
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
141 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
142 * purple_conversations_get_ui_ops:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
143 *
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
144 * Gets the default conversation UI operations structure.
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
145 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
146 * Returns: The UI conversation operations structure.
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
147 */
34648
a6587d8cf907 Added missing API implementations to PurpleConversation and subclasses
Ankit Vani <a@nevitus.org>
parents: 34646
diff changeset
148 PurpleConversationUiOps *purple_conversations_get_ui_ops(void);
34646
e7f4631e93f7 Begun adding GObject code to conversation sources
Ankit Vani <a@nevitus.org>
parents: 34632
diff changeset
149
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
150 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
151 * purple_conversations_get_handle:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
152 *
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
153 * Returns the conversation subsystem handle.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
154 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35307
diff changeset
155 * Returns: The conversation subsystem handle.
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
156 */
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
157 void *purple_conversations_get_handle(void);
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
158
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
159 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
160 * purple_conversations_init:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
161 *
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
162 * Initializes the conversation subsystem.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
163 */
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
164 void purple_conversations_init(void);
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
165
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
166 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
167 * purple_conversations_uninit:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
168 *
34599
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
169 * Uninitializes the conversation subsystem.
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
170 */
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
171 void purple_conversations_uninit(void);
0b1b22f5e2ec Begun GObjectification of PurpleConversation.
Ankit Vani <a@nevitus.org>
parents: 34595
diff changeset
172
34595
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
173 G_END_DECLS
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
174
9734ddc618a7 Prepared files for GObjectification of PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
diff changeset
175 #endif /* _PURPLE_CONVERSATIONS_H_ */

mercurial