comparison src/protocols/silc/silc.c @ 12058:d5daff460913

[gaim-migrate @ 14353] SILC whiteboard support from Pekka Riikonen. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sat, 12 Nov 2005 23:04:44 +0000
parents fa742ad8068c
children 5d9a74c47108
comparison
equal deleted inserted replaced
12057:68c18dd8a316 12058:d5daff460913
19 19
20 #include "silcincludes.h" 20 #include "silcincludes.h"
21 #include "silcclient.h" 21 #include "silcclient.h"
22 #include "silcgaim.h" 22 #include "silcgaim.h"
23 #include "version.h" 23 #include "version.h"
24 #include "wb.h"
24 25
25 extern SilcClientOperations ops; 26 extern SilcClientOperations ops;
26 static GaimPlugin *silc_plugin = NULL; 27 static GaimPlugin *silc_plugin = NULL;
27 28
28 static const char * 29 static const char *
1482 static GaimPluginUiInfo prefs_info = 1483 static GaimPluginUiInfo prefs_info =
1483 { 1484 {
1484 silcgaim_pref_frame, 1485 silcgaim_pref_frame,
1485 }; 1486 };
1486 1487
1488 static GaimWhiteboardPrplOps silcgaim_wb_ops =
1489 {
1490 silcgaim_wb_start,
1491 silcgaim_wb_end,
1492 silcgaim_wb_get_dimensions,
1493 silcgaim_wb_set_dimensions,
1494 silcgaim_wb_get_brush,
1495 silcgaim_wb_set_brush,
1496 silcgaim_wb_send,
1497 silcgaim_wb_clear,
1498 };
1499
1487 static GaimPluginProtocolInfo prpl_info = 1500 static GaimPluginProtocolInfo prpl_info =
1488 { 1501 {
1489 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME | 1502 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME |
1490 OPT_PROTO_PASSWORD_OPTIONAL, 1503 OPT_PROTO_PASSWORD_OPTIONAL,
1491 NULL, /* user_splits */ 1504 NULL, /* user_splits */
1541 NULL, /* find_blist_chat */ 1554 NULL, /* find_blist_chat */
1542 silcgaim_roomlist_get_list, /* roomlist_get_list */ 1555 silcgaim_roomlist_get_list, /* roomlist_get_list */
1543 silcgaim_roomlist_cancel, /* roomlist_cancel */ 1556 silcgaim_roomlist_cancel, /* roomlist_cancel */
1544 NULL, /* roomlist_expand_category */ 1557 NULL, /* roomlist_expand_category */
1545 NULL, /* can_receive_file */ 1558 NULL, /* can_receive_file */
1546 silcgaim_ftp_send_file /* send_file */ 1559 silcgaim_ftp_send_file, /* send_file */
1560 &silcgaim_wb_ops, /* whiteboard operations */
1547 }; 1561 };
1548 1562
1549 static GaimPluginInfo info = 1563 static GaimPluginInfo info =
1550 { 1564 {
1551 GAIM_PLUGIN_MAGIC, 1565 GAIM_PLUGIN_MAGIC,