Thu, 07 Aug 2025 21:32:18 -0500
Clean up and modernize PurpleImage
Testing Done:
Ran the tests under valgrind and called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4074/
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
1 | /* |
|
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> |
| 11475 | 4 | * |
| 15884 | 5 | * Purple is the legal property of its developers, whose names are too numerous |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 11475 | 7 | * source distribution. |
| 8 | * | |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
9 | * This library is free software; you can redistribute it and/or modify it |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
10 | * under the terms of the GNU General Public License as published by the Free |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
11 | * Software Foundation; either version 2 of the License, or (at your option) |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
12 | * any later version. |
| 11475 | 13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
14 | * This library is distributed in the hope that it will be useful, but WITHOUT |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
17 | * more details. |
| 11475 | 18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License along with |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42420
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 11475 | 21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39664
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:
39664
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:
39664
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
26 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39595
diff
changeset
|
27 | #ifndef PURPLE_WHITEBOARD_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39595
diff
changeset
|
28 | #define PURPLE_WHITEBOARD_H |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
29 | |
|
39661
c8f98b167882
Change some libpurple object to GObject macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39595
diff
changeset
|
30 | #define PURPLE_TYPE_WHITEBOARD (purple_whiteboard_get_type()) |
|
c8f98b167882
Change some libpurple object to GObject macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39595
diff
changeset
|
31 | typedef struct _PurpleWhiteboard PurpleWhiteboard; |
|
34936
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
32 | |
|
42344
c51d37734155
Rename account.[ch] to purpleaccount.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
42338
diff
changeset
|
33 | #include "purpleaccount.h" |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
34 | #include "purpleversion.h" |
|
42338
2548eb61acc9
Make sure all internal includes use double quotes
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
35 | #include "purplewhiteboardops.h" |
| 11475 | 36 | |
|
34936
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
37 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
38 | * PurpleWhiteboard: |
|
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
39 | * |
|
40745
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
40 | * A abstract whiteboard object. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
41 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
42 | * Since: 3.0 |
|
34936
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
43 | */ |
|
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
44 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32708
diff
changeset
|
45 | G_BEGIN_DECLS |
| 11475 | 46 | |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
47 | /** |
|
40745
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
48 | * PurpleWhiteboardClass: |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
49 | * |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
50 | * The class methods for a PurpleWhiteboard. |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
51 | * |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
52 | * Right now this is empty but it will be filled out with the function from |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
53 | * PurpleWhiteboardOps in a future review request. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
54 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
55 | * Since: 3.0 |
|
40745
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
56 | */ |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
57 | struct _PurpleWhiteboardClass { |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
58 | /*< private >*/ |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
59 | GObjectClass parent; |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
60 | |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
61 | /*< private >*/ |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
62 | gpointer reserved[16]; |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
63 | }; |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
64 | |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
65 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
66 | * purple_whiteboard_get_type: |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
67 | * The standard _get_type function for #PurpleWhiteboard. |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
68 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
69 | * Returns: The #GType for the #PurpleWhiteboard object. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
70 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
71 | * Since: 3.0 |
|
34936
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
72 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
73 | PURPLE_AVAILABLE_IN_3_0 |
|
40745
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
74 | G_DECLARE_DERIVABLE_TYPE(PurpleWhiteboard, purple_whiteboard, PURPLE, |
|
1b0fa96b5ca3
Make PurpleWhiteboard derivable and remove purple_whiteboard_[gs]et_ui data.
Gary Kramlich <grim@reaperworld.com>
parents:
40595
diff
changeset
|
75 | WHITEBOARD, GObject) |
|
34936
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
76 | |
|
3c03564af436
Started GObjectification of PurpleWhiteboard
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
77 | /** |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
78 | * purple_whiteboard_set_protocol_ops: |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
79 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
80 | * @ops: The #PurpleWhiteboardOps to set. |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
81 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
82 | * Sets the protocol operations for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
83 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
84 | * Since: 3.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
85 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
86 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
87 | void purple_whiteboard_set_protocol_ops(PurpleWhiteboard *whiteboard, PurpleWhiteboardOps *ops); |
|
12400
47c1252e6f84
[gaim-migrate @ 14707]
Richard Laager <rlaager@pidgin.im>
parents:
12022
diff
changeset
|
88 | |
|
47c1252e6f84
[gaim-migrate @ 14707]
Richard Laager <rlaager@pidgin.im>
parents:
12022
diff
changeset
|
89 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
90 | * purple_whiteboard_new: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
91 | * @account: A #PurpleAccount instance. |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
92 | * @id: The identifier of the whiteboard. |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
93 | * @state: The state. |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
94 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
95 | * Creates a new whiteboard. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
96 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
97 | * Returns: (transfer full): The new #PurpleWhiteboard instance. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
98 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
99 | * Since: 3.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
100 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
101 | PURPLE_AVAILABLE_IN_3_0 |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
102 | PurpleWhiteboard *purple_whiteboard_new(PurpleAccount *account, const gchar *id, gint state); |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
103 | |
|
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
104 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
105 | * purple_whiteboard_get_account: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
106 | * @whiteboard: The #PurpleWhiteboard instance. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
107 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
108 | * Gets the #PurpleAccount that @whiteboard is tied to. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
109 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
110 | * Returns: (transfer none): The #PurpleAccount for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
111 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
112 | * Since: 3.0 |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
113 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
114 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
115 | PurpleAccount *purple_whiteboard_get_account(PurpleWhiteboard *whiteboard); |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
116 | |
|
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
117 | /** |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
118 | * purple_whiteboard_get_id: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
119 | * @whiteboard: The #PurpleWhiteboard instance. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
120 | * |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
121 | * Gets the id of @whiteboard. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
122 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
123 | * Returns: The id of @whiteboard. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
124 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
125 | * Since: 3.0 |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
126 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
127 | PURPLE_AVAILABLE_IN_3_0 |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
128 | const gchar *purple_whiteboard_get_id(PurpleWhiteboard *whiteboard); |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
129 | |
|
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
130 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
131 | * purple_whiteboard_set_state: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
132 | * @whiteboard: The whiteboard. |
|
39595
0c9f3c4f1afb
Various typo and whitespace fixes found in review
Gary Kramlich <grim@reaperworld.com>
parents:
39593
diff
changeset
|
133 | * @state: The state |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
134 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
135 | * Set the state of @whiteboard to @state. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
136 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
137 | * Since: 3.0 |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
138 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
139 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
140 | void purple_whiteboard_set_state(PurpleWhiteboard *whiteboard, gint state); |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
141 | |
|
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
142 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
143 | * purple_whiteboard_get_state: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
144 | * @whiteboard: The #PurpleWhiteboard instance. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
145 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
146 | * Gets the state of @whiteboard. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
147 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
148 | * Returns: The state of the @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
149 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
150 | * Since: 3.0 |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
151 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
152 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
153 | gint purple_whiteboard_get_state(PurpleWhiteboard *whiteboard); |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
154 | |
|
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
155 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
156 | * purple_whiteboard_start: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
157 | * @whiteboard: The #PurpleWhiteboard instance. |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
158 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
159 | * Puts @whiteboard into the started state if it wasn't already. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
160 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
161 | * Since: 2.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
162 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
163 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
164 | void purple_whiteboard_start(PurpleWhiteboard *whiteboard); |
| 11475 | 165 | |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
166 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
167 | * purple_whiteboard_draw_list_destroy: |
|
39593
2d41781914e7
Document the protocol whiteboard and chat interfaces
Gary Kramlich <grim@reaperworld.com>
parents:
39380
diff
changeset
|
168 | * @draw_list: (element-type gint): The drawing list. |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
169 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
170 | * Destroys a drawing list for a whiteboard |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
171 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
172 | * Since: 2.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
173 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
174 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 175 | void purple_whiteboard_draw_list_destroy(GList *draw_list); |
| 11475 | 176 | |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
177 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
178 | * purple_whiteboard_get_dimensions: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
179 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
180 | * @width: (nullable) (out): A return address for the width. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
181 | * @height: (nullable) (out): A return address for the height. |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
182 | * |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
183 | * Gets the dimension of a whiteboard. |
|
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
184 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
185 | * Returns: %TRUE if the values of @width and @height were set. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
186 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
187 | * Since: 2.0 |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
188 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
189 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
190 | gboolean purple_whiteboard_get_dimensions(PurpleWhiteboard *whiteboard, gint *width, gint *height); |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
191 | |
|
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
192 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
193 | * purple_whiteboard_set_dimensions: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
194 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
195 | * @width: The new width. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
196 | * @height: The new height. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
197 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
198 | * Sets the dimensions for @whiteboard. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
199 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
200 | * Since: 2.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
201 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
202 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
203 | void purple_whiteboard_set_dimensions(PurpleWhiteboard *whiteboard, gint width, gint height); |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
204 | |
|
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
205 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
206 | * purple_whiteboard_draw_point: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
207 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
208 | * @x: The x coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
209 | * @y: The y coordinate. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
210 | * @color: The color to use. |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
211 | * @size: The brush size. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
212 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
213 | * Draws a point on @whiteboard with the given parameters. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
214 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
215 | * Since: 2.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
216 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
217 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
218 | void purple_whiteboard_draw_point(PurpleWhiteboard *whiteboard, gint x, gint y, gint color, gint size); |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
219 | |
|
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
220 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
221 | * purple_whiteboard_send_draw_list: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
222 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
223 | * @list: (element-type gint): A GList of points. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
224 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
225 | * Send a list of points to draw. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
226 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
227 | * Since: 2.0 |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
228 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
229 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
230 | void purple_whiteboard_send_draw_list(PurpleWhiteboard *whiteboard, GList *list); |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
231 | |
|
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
232 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
233 | * purple_whiteboard_draw_line: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
234 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
235 | * @x1: The top-left x coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
236 | * @y1: The top-left y coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
237 | * @x2: The bottom-right x coordinate. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
238 | * @y2: The bottom-right y coordinate. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
239 | * @color: The color to use. |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
240 | * @size: The brush size. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
241 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
242 | * Draws a line on @whiteboard with the given parameters. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
243 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
244 | * Since: 2.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
245 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
246 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
247 | void purple_whiteboard_draw_line(PurpleWhiteboard *whiteboard, gint x1, gint y1, gint x2, gint y2, gint color, gint size); |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
248 | |
|
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
249 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
250 | * purple_whiteboard_clear: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
251 | * @whiteboard: The #PurpleWhiteboard instance. |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
252 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
253 | * Clears the contents of @whiteboard. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
254 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
255 | * Since: 2.0 |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
256 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
257 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
258 | void purple_whiteboard_clear(PurpleWhiteboard *whiteboard); |
| 11475 | 259 | |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
260 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
261 | * purple_whiteboard_send_clear: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
262 | * @whiteboard: The #PurpleWhiteboard instance. |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
263 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
264 | * Sends a request to the buddy to clear @whiteboard. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
265 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
266 | * Since: 2.0 |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
267 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
268 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
269 | void purple_whiteboard_send_clear(PurpleWhiteboard *whiteboard); |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
270 | |
|
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
271 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
272 | * purple_whiteboard_send_brush: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
273 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
274 | * @size: The size of the brush. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
275 | * @color: The color of the brush. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
276 | * |
|
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
277 | * Sends a request to change the size and color of the brush. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
278 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
279 | * Since: 2.0 |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
280 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
281 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
282 | void purple_whiteboard_send_brush(PurpleWhiteboard *whiteboard, gint size, gint color); |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
283 | |
|
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
284 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
285 | * purple_whiteboard_get_brush: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
286 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
287 | * @size: (nullable) (out): A return address for the size of the brush. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
288 | * @color: (nullable) (out): A return address for the color of the brush. |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
289 | * |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
290 | * Gets the size and color of the brush. |
|
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
291 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
292 | * Returns: %TRUE if the size and color were set. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
293 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
294 | * Since: 2.0 |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
295 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
296 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
297 | gboolean purple_whiteboard_get_brush(PurpleWhiteboard *whiteboard, gint *size, gint *color); |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
298 | |
|
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
299 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
300 | * purple_whiteboard_set_brush: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
301 | * @whiteboard: The #PurpleWhiteboard instance. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
302 | * @size: The size of the brush. |
|
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
303 | * @color: The color of the brush. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
304 | * |
|
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
305 | * Sets the size and color of the brush. |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
306 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
307 | * Since: 2.0 |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
308 | */ |
|
42420
5f2fe624069a
Make sure all of the whiteboard API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42391
diff
changeset
|
309 | PURPLE_AVAILABLE_IN_ALL |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
310 | void purple_whiteboard_set_brush(PurpleWhiteboard *whiteboard, gint size, gint color); |
|
12022
c03fe7e2cd1d
[gaim-migrate @ 14315]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11914
diff
changeset
|
311 | |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
312 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
313 | * purple_whiteboard_get_draw_list: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
314 | * @whiteboard: The #PurpleWhiteboard instance. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
315 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
316 | * Gets the drawing list. |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
317 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
318 | * Returns: (transfer none) (element-type gint): The drawing list. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
319 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
320 | * Since: 3.0 |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
321 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
322 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
323 | GList *purple_whiteboard_get_draw_list(PurpleWhiteboard *whiteboard); |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
324 | |
|
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
325 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
326 | * purple_whiteboard_set_draw_list: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
327 | * @whiteboard: The #PurpleWhiteboard instance. |
|
39593
2d41781914e7
Document the protocol whiteboard and chat interfaces
Gary Kramlich <grim@reaperworld.com>
parents:
39380
diff
changeset
|
328 | * @draw_list: (element-type gint): The drawing list. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
329 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
330 | * Sets the drawing list. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
331 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
332 | * Since: 3.0 |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
333 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
334 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
335 | void purple_whiteboard_set_draw_list(PurpleWhiteboard *whiteboard, GList* draw_list); |
|
32285
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
336 | |
|
b5ea2ea68c8c
Add additional accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
32282
diff
changeset
|
337 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
338 | * purple_whiteboard_set_protocol_data: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
339 | * @whiteboard: The #PurpleWhiteboard instance. |
|
39595
0c9f3c4f1afb
Various typo and whitespace fixes found in review
Gary Kramlich <grim@reaperworld.com>
parents:
39593
diff
changeset
|
340 | * @proto_data: The protocol data to set for the whiteboard. |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
341 | * |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
342 | * Sets the protocol data for @whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
343 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
344 | * Since: 3.0 |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
345 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
346 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
347 | void purple_whiteboard_set_protocol_data(PurpleWhiteboard *whiteboard, gpointer proto_data); |
|
32554
0d844fac6679
Fix a bunch of tiny problems generating our doxygen documentation
Mark Doliner <markdoliner@pidgin.im>
parents:
32285
diff
changeset
|
348 | |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
349 | /** |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
350 | * purple_whiteboard_get_protocol_data: |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
351 | * @whiteboard: The #PurpleWhiteboard instance. |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
352 | * |
|
35403
9282701d7aa9
Convert docs from doxygen to gtk-doc format for sound-theme-loader to xmlnode
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
353 | * Gets the protocol data for a whiteboard. |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
354 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
355 | * Returns: The protocol data for the whiteboard. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
356 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
357 | * Since: 3.0 |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
358 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
359 | PURPLE_AVAILABLE_IN_3_0 |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
360 | gpointer purple_whiteboard_get_protocol_data(PurpleWhiteboard *whiteboard); |
|
32282
c3df9b7a5160
Added protocol_data and ui_data accessor functions for Whiteboard.
Andrew Victor <andrew.victor@mxit.com>
parents:
20147
diff
changeset
|
361 | |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
362 | /** |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
363 | * purple_whiteboard_equal: |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
364 | * @whiteboard1: The first #PurpleWhiteboard instance to check. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
365 | * @whiteboard2: The second #PurpleWhiteboard instance to check. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
366 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
367 | * Checks the id's for @whiteboard1 and @whiteboard2 and return whether or not |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
368 | * they are equal. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
369 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
370 | * Returns: %TRUE if the id's of @whiteboard1 and @whiteboard2 are equal. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
371 | * |
|
42616
a7144db5570a
Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
372 | * Since: 3.0 |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
373 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
374 | PURPLE_AVAILABLE_IN_3_0 |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
375 | gboolean purple_whiteboard_equal(PurpleWhiteboard *whiteboard1, PurpleWhiteboard *whiteboard2); |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40745
diff
changeset
|
376 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32708
diff
changeset
|
377 | G_END_DECLS |
|
11802
b97b3fea95ce
[gaim-migrate @ 14093]
Gary Kramlich <grim@reaperworld.com>
parents:
11475
diff
changeset
|
378 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39595
diff
changeset
|
379 | #endif /* PURPLE_WHITEBOARD_H */ |
|
40595
d7e28f8a0994
split up whiteboard.[ch] to separate files
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
380 |