Fri, 01 May 2020 04:42:52 -0500
move all protocols, purple plugins, and purple tests to use purple.h instead of including files individually
| 12058 | 1 | /* |
| 2 | ||
| 15884 | 3 | silcpurple.h |
| 12058 | 4 | |
| 5 | Author: Pekka Riikonen <priikone@silcnet.org> | |
| 6 | ||
| 7 | Copyright (C) 2005 Pekka Riikonen | |
| 8 | ||
| 9 | This program is free software; you can redistribute it and/or modify | |
| 10 | it under the terms of the GNU General Public License as published by | |
| 11 | the Free Software Foundation; version 2 of the License. | |
| 12 | ||
| 13 | This program is distributed in the hope that it will be useful, | |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | GNU General Public License for more details. | |
| 17 | ||
| 18 | */ | |
| 19 | ||
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
16396
diff
changeset
|
20 | #ifndef PURPLE_SILC_WB_H |
|
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
16396
diff
changeset
|
21 | #define PURPLE_SILC_WB_H |
| 12058 | 22 | |
| 15884 | 23 | #include "silcpurple.h" |
| 12058 | 24 | |
| 15884 | 25 | PurpleWhiteboard * |
| 26 | silcpurple_wb_init(SilcPurple sg, SilcClientEntry client_entry); | |
| 27 | PurpleWhiteboard * | |
| 28 | silcpurple_wb_init_ch(SilcPurple sg, SilcChannelEntry channel); | |
| 29 | void silcpurple_wb_receive(SilcClient client, SilcClientConnection conn, | |
| 12058 | 30 | SilcClientEntry sender, SilcMessagePayload payload, |
| 31 | SilcMessageFlags flags, const unsigned char *message, | |
| 32 | SilcUInt32 message_len); | |
| 15884 | 33 | void silcpurple_wb_receive_ch(SilcClient client, SilcClientConnection conn, |
| 12058 | 34 | SilcClientEntry sender, SilcChannelEntry channel, |
| 35 | SilcMessagePayload payload, | |
| 36 | SilcMessageFlags flags, | |
| 37 | const unsigned char *message, | |
| 38 | SilcUInt32 message_len); | |
| 15884 | 39 | void silcpurple_wb_start(PurpleWhiteboard *wb); |
| 40 | void silcpurple_wb_end(PurpleWhiteboard *wb); | |
|
16396
2217b2765e58
Fix two minor compile warnings
Mark Doliner <markdoliner@pidgin.im>
parents:
15884
diff
changeset
|
41 | void silcpurple_wb_get_dimensions(const PurpleWhiteboard *wb, int *width, int *height); |
| 15884 | 42 | void silcpurple_wb_set_dimensions(PurpleWhiteboard *wb, int width, int height); |
|
16396
2217b2765e58
Fix two minor compile warnings
Mark Doliner <markdoliner@pidgin.im>
parents:
15884
diff
changeset
|
43 | void silcpurple_wb_get_brush(const PurpleWhiteboard *wb, int *size, int *color); |
| 15884 | 44 | void silcpurple_wb_set_brush(PurpleWhiteboard *wb, int size, int color); |
| 45 | void silcpurple_wb_send(PurpleWhiteboard *wb, GList *draw_list); | |
| 46 | void silcpurple_wb_clear(PurpleWhiteboard *wb); | |
| 12058 | 47 | |
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
16396
diff
changeset
|
48 | #endif /* PURPLE_SILC_WB_H */ |