Thu, 25 Aug 2022 21:34:53 -0500
Port the invite dialog to GTK4
Testing Done:
Opened the dialog via conversations -> invite and made sure it worked as expected.
Reviewed at https://reviews.imfreedom.org/r/1644/
|
40339
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
40339
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * 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
|
6 | * 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
|
7 | * source distribution. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * 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
|
10 | * 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
|
11 | * 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
|
12 | * (at your option) any later version. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * 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
|
15 | * 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
|
16 | * 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
|
17 | * GNU General Public License for more details. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
|
40339
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 | #include <glib.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | #include <glib-object.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #include <libpurple/account.h> |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | #include <libpurple/connection.h> |
|
41155
922c9e70900c
Rename protocol.[ch] to purpleprotocol.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
41024
diff
changeset
|
35 | #include <libpurple/purpleprotocol.h> |
|
40870
e3397381fd35
Remove includes from protocol.h that weren't used there and deal with the fallout
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
36 | #include <libpurple/roomlist.h> |
|
40339
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 | G_BEGIN_DECLS |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | |
|
40524
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
40 | /** |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
41 | * 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
|
42 | * |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
43 | * 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
|
44 | */ |
|
40339
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | #define PURPLE_TYPE_PROTOCOL_FACTORY (purple_protocol_factory_iface_get_type()) |
|
41205
c5513eb740aa
Remove unnecessary gtk-doc comments and move them where possible from libpurple/purple[o-z]*.h
Gary Kramlich <grim@reaperworld.com>
parents:
41158
diff
changeset
|
46 | |
|
c5513eb740aa
Remove unnecessary gtk-doc comments and move them where possible from libpurple/purple[o-z]*.h
Gary Kramlich <grim@reaperworld.com>
parents:
41158
diff
changeset
|
47 | /** |
|
c5513eb740aa
Remove unnecessary gtk-doc comments and move them where possible from libpurple/purple[o-z]*.h
Gary Kramlich <grim@reaperworld.com>
parents:
41158
diff
changeset
|
48 | * PurpleProtocolFactory: |
|
c5513eb740aa
Remove unnecessary gtk-doc comments and move them where possible from libpurple/purple[o-z]*.h
Gary Kramlich <grim@reaperworld.com>
parents:
41158
diff
changeset
|
49 | * |
|
41283
8da781550c96
Remove duplicate class documentation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41205
diff
changeset
|
50 | * An interface where protocols can expose subclasses of libpurple objects. |
|
8da781550c96
Remove duplicate class documentation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41205
diff
changeset
|
51 | * |
|
8da781550c96
Remove duplicate class documentation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41205
diff
changeset
|
52 | * Since: 3.0.0 |
|
41205
c5513eb740aa
Remove unnecessary gtk-doc comments and move them where possible from libpurple/purple[o-z]*.h
Gary Kramlich <grim@reaperworld.com>
parents:
41158
diff
changeset
|
53 | */ |
|
40339
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, |
|
41024
a2ad2d034162
Set the prereq type for all Protocol interfaces to PurpleProtocol
Gary Kramlich <grim@reaperworld.com>
parents:
40870
diff
changeset
|
55 | PROTOCOL_FACTORY, PurpleProtocol) |
|
40339
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 | * PurpleProtocolFactoryInterface: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | * @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
|
60 | * subclasses #PurpleConnection. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | * @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
|
62 | * subclasses #PurpleRoomlist. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | * @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
|
64 | * subclasses #PurpleWhiteboard. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | * The protocol factory interface. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | * 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
|
69 | * subclasses of some purple objects. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | struct _PurpleProtocolFactoryInterface { |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | /*< private >*/ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | GTypeInterface parent_iface; |
|
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 | /*< public >*/ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | PurpleConnection *(*connection_new)(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | PurpleAccount *account, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | const gchar *password); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | PurpleWhiteboard *(*whiteboard_new)(PurpleProtocolFactory *factory, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | PurpleAccount *account, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | const gchar *who, |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | gint state); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | }; |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | |
|
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 | * purple_protocol_factory_get_type: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | * The standard `_get_type` function for #PurpleProtocolFactory. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | * 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
|
92 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | * Since: 3.0.0 |
|
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_connection_new: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * @factory: The #PurpleProtocolFactory instance. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * @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
|
100 | * @password: The password for @account. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
102 | * Creates a new protocol-specific #PurpleConnection subclass. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
103 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | * Returns: (transfer full): The new #PurpleConnection subclass. |
|
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 | * Since: 3.0.0 |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | 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
|
109 | PurpleAccount *account, const gchar *password); |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | |
|
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 | * purple_protocol_factory_whiteboard_new: |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | * @factory: The #PurpleProtocolFactory instance. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | * @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
|
115 | * @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
|
116 | * @state: NFI. |
|
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 | * Creates a new protocol-specific #PurpleWhiteboard subclass. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
119 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | * 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
|
121 | * and @who. |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | * |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * Since: 3.0.0 |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | */ |
|
54813fd13c13
Pull PurpleProtocolFactory out to it's own file.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | 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
|
126 | PurpleAccount *account, const gchar *who, gint state); |
|
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 | G_END_DECLS |
|
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 | #endif /* PURPLE_PROTOCOL_FACTORY_H */ |