Tue, 25 Aug 2020 23:18:09 -0500
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Add document for all PURPLE_TYPE_ defines as well as PURPLE_TUNE_ constants
Testing Done:
Compile and doc build.
Reviewed at https://reviews.imfreedom.org/r/92/
|
40339
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * purple |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * Purple is the legal property of its developers, whose names are too numerous |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * source distribution. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * (at your option) any later version. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * GNU General Public License for more details. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40339
diff
changeset
|
23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40339
diff
changeset
|
24 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40339
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40339
diff
changeset
|
26 | |
|
40339
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PURPLE_PROTOCOL_FACTORY_H |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PURPLE_PROTOCOL_FACTORY_H |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | * SECTION:protocol-factory |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | * @section_id: purple-protocol-factory |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | * @title: ProtocolFactoryInterface |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | * @short_description: <filename>purpleprotocolfactory.h</filename> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | * A interface where protocols can expose subclasses of libpurple objects. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | #include <glib.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | #include <glib-object.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | #include <libpurple/account.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | #include <libpurple/connection.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | #include <libpurple/protocol.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | G_BEGIN_DECLS |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | |
|
40524
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
48 | /** |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
49 | * PURPLE_TYPE_PROTOCOL_FACTORY: |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
50 | * |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
51 | * The standard _get_type macro for #PurpleProtocolFactory. |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
52 | */ |
|
40339
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | #define PURPLE_TYPE_PROTOCOL_FACTORY (purple_protocol_factory_iface_get_type()) |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | G_DECLARE_INTERFACE(PurpleProtocolFactory, purple_protocol_factory, PURPLE, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | PROTOCOL_FACTORY, GObject) |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | * PurpleProtocolFactory: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | * #PurpleProtocolFactory is an opaque representation of an object that |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | * implements #PurpleProtocolFactoryInterface. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | * PurpleProtocolFactoryInterface: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | * @connection_new: Creates a new protocol-specific connection object that |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | * subclasses #PurpleConnection. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | * @roomlist_new: Creates a new protocol-specific room list object that |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | * subclasses #PurpleRoomlist. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | * @whiteboard_new: Creates a new protocol-specific whiteboard object that |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | * subclasses #PurpleWhiteboard. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | * The protocol factory interface. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | * This interface provides callbacks for construction of protocol-specific |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | * subclasses of some purple objects. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | struct _PurpleProtocolFactoryInterface { |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | /*< private >*/ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | GTypeInterface parent_iface; |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | /*< public >*/ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | PurpleConnection *(*connection_new)(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | PurpleAccount *account, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | const gchar *password); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | PurpleRoomlist *(*roomlist_new)(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | PurpleAccount *account); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | PurpleWhiteboard *(*whiteboard_new)(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | PurpleAccount *account, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
92 | const gchar *who, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | gint state); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | }; |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
96 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
97 | * purple_protocol_factory_get_type: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * The standard `_get_type` function for #PurpleProtocolFactory. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * Returns: The #GType for the protocol factory interface. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
102 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
103 | * Since: 3.0.0 |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
105 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | * purple_protocol_factory_connection_new: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | * @factory: The #PurpleProtocolFactory instance. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
109 | * @account: The #PurpleAccount to create the connection for. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | * @password: The password for @account. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
111 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
112 | * Creates a new protocol-specific #PurpleConnection subclass. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | * Returns: (transfer full): The new #PurpleConnection subclass. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
115 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
116 | * Since: 3.0.0 |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
118 | PurpleConnection *purple_protocol_factory_connection_new(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
119 | PurpleAccount *account, const gchar *password); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | * purple_protocol_factory_roomlist_new: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * @factory: The #PurpleProtocolFactory instance. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | * @account: The #PurpleAccount to create a roomlist for. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | * Creates a new protocol-specific #PurpleRoomlist subclass. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
127 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
128 | * Returns: (transfer full): The new #PurpleRoomlist subclass for @account. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
129 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
130 | * Since: 3.0.0 |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
131 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
132 | PurpleRoomlist *purple_protocol_factory_roomlist_new(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
133 | PurpleAccount *account); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
134 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | /** |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
136 | * purple_protocol_factory_whiteboard_new: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
137 | * @factory: The #PurpleProtocolFactory instance. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
138 | * @account: The #PurpleAccount instance to create a whiteboard for. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
139 | * @who: The name of the contact to create a whiteboard with. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
140 | * @state: NFI. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
141 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
142 | * Creates a new protocol-specific #PurpleWhiteboard subclass. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
143 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
144 | * Returns: (transfer full): The new #PurpleWhiteboard subclass for @account |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
145 | * and @who. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
146 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
147 | * Since: 3.0.0 |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
148 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
149 | PurpleWhiteboard *purple_protocol_factory_whiteboard_new(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
150 | PurpleAccount *account, const gchar *who, gint state); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
151 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
152 | G_END_DECLS |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
153 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
154 | #endif /* PURPLE_PROTOCOL_FACTORY_H */ |