Fri, 30 Aug 2013 00:48:09 +0530
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
1 | /** |
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
2 | * @file protocols.h Protocols API |
|
5034
077678f7b048
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
4966
diff
changeset
|
3 | * @ingroup core |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19907
diff
changeset
|
4 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19907
diff
changeset
|
5 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19907
diff
changeset
|
6 | /* purple |
| 981 | 7 | * |
| 15884 | 8 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 9 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 10 | * source distribution. | |
|
6451
2ff17ce330d8
[gaim-migrate @ 6960]
Christian Hammond <chipx86@chipx86.com>
parents:
6418
diff
changeset
|
11 | * |
| 981 | 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by | |
| 14 | * the Free Software Foundation; either version 2 of the License, or | |
| 15 | * (at your option) any later version. | |
| 16 | * | |
| 17 | * This program is distributed in the hope that it will be useful, | |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | * GNU General Public License for more details. | |
| 21 | * | |
| 22 | * You should have received a copy of the GNU General Public License | |
| 23 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19641
diff
changeset
|
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 981 | 25 | */ |
| 26 | ||
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
27 | #ifndef _PURPLE_PROTOCOLS_H_ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
28 | #define _PURPLE_PROTOCOLS_H_ |
|
36551
8988e6e21acb
Started GObjectification of protocols - added PurpleProtocol, PurpleProtocolClass, PurpleProtocolInterface.
Ankit Vani <a@nevitus.org>
parents:
36545
diff
changeset
|
29 | |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
30 | #define PURPLE_TYPE_PROTOCOL_ACTION (purple_protocol_action_get_type()) |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
31 | |
|
36551
8988e6e21acb
Started GObjectification of protocols - added PurpleProtocol, PurpleProtocolClass, PurpleProtocolInterface.
Ankit Vani <a@nevitus.org>
parents:
36545
diff
changeset
|
32 | /** @copydoc _PurpleProtocolAction */ |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
33 | typedef struct _PurpleProtocolAction PurpleProtocolAction; |
|
36408
15ee501576b9
Added PurplePluginProtocolInfo* to PurpleProtocolAction. Changed PurpleProtocolActionCallback argument to PurpleProtocolAction*.
Ankit Vani <a@nevitus.org>
parents:
36396
diff
changeset
|
34 | typedef void (*PurpleProtocolActionCallback)(PurpleProtocolAction *); |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
35 | |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
36 | #define PURPLE_TYPE_ATTENTION_TYPE (purple_attention_type_get_type()) |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
37 | |
|
32554
0d844fac6679
Fix a bunch of tiny problems generating our doxygen documentation
Mark Doliner <markdoliner@pidgin.im>
parents:
32338
diff
changeset
|
38 | /** Represents "nudges" and "buzzes" that you may send to a buddy to attract |
|
0d844fac6679
Fix a bunch of tiny problems generating our doxygen documentation
Mark Doliner <markdoliner@pidgin.im>
parents:
32338
diff
changeset
|
39 | * their attention (or vice-versa). |
|
0d844fac6679
Fix a bunch of tiny problems generating our doxygen documentation
Mark Doliner <markdoliner@pidgin.im>
parents:
32338
diff
changeset
|
40 | */ |
|
19604
ae3d7cc7063d
Attention API for nudges/buzzes/zaps of various protocols.
Jeff Connelly <jeff2@soc.pidgin.im>
parents:
19401
diff
changeset
|
41 | typedef struct _PurpleAttentionType PurpleAttentionType; |
|
5205
242b8aa81328
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
5148
diff
changeset
|
42 | |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
43 | /**************************************************************************/ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
44 | /** @name Basic Protocol Information */ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
45 | /**************************************************************************/ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
46 | |
| 9318 | 47 | typedef enum { |
| 15884 | 48 | PURPLE_ICON_SCALE_DISPLAY = 0x01, /**< We scale the icon when we display it */ |
| 49 | PURPLE_ICON_SCALE_SEND = 0x02 /**< We scale the icon before we send it to the server */ | |
| 50 | } PurpleIconScaleRules; | |
| 9318 | 51 | |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
52 | #define PURPLE_TYPE_BUDDY_ICON_SPEC (purple_buddy_icon_spec_get_type()) |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
53 | |
| 9308 | 54 | /** |
| 15884 | 55 | * A description of a Buddy Icon specification. This tells Purple what kind of image file |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
56 | * it should give this protocol, and what kind of image file it should expect back. |
| 9316 | 57 | * Dimensions less than 1 should be ignored and the image not scaled. |
| 9308 | 58 | */ |
| 15884 | 59 | typedef struct _PurpleBuddyIconSpec PurpleBuddyIconSpec; |
| 9308 | 60 | |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
61 | #define PURPLE_TYPE_THUMBNAIL_SPEC (purple_thumbnail_spec_get_type()) |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
62 | |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
9971
diff
changeset
|
63 | /** |
|
30113
f60cbf3b3ca9
Allow PRPLs to specify the image formats acceptable for thumbnails (in
Marcus Lundblad <malu@pidgin.im>
parents:
29815
diff
changeset
|
64 | * A description of a file transfer thumbnail specification. |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
65 | * This tells the UI if and what image formats the protocol support for file |
|
30113
f60cbf3b3ca9
Allow PRPLs to specify the image formats acceptable for thumbnails (in
Marcus Lundblad <malu@pidgin.im>
parents:
29815
diff
changeset
|
66 | * transfer thumbnails. |
|
f60cbf3b3ca9
Allow PRPLs to specify the image formats acceptable for thumbnails (in
Marcus Lundblad <malu@pidgin.im>
parents:
29815
diff
changeset
|
67 | */ |
|
f60cbf3b3ca9
Allow PRPLs to specify the image formats acceptable for thumbnails (in
Marcus Lundblad <malu@pidgin.im>
parents:
29815
diff
changeset
|
68 | typedef struct _PurpleThumbnailSpec PurpleThumbnailSpec; |
|
f60cbf3b3ca9
Allow PRPLs to specify the image formats acceptable for thumbnails (in
Marcus Lundblad <malu@pidgin.im>
parents:
29815
diff
changeset
|
69 | |
|
f60cbf3b3ca9
Allow PRPLs to specify the image formats acceptable for thumbnails (in
Marcus Lundblad <malu@pidgin.im>
parents:
29815
diff
changeset
|
70 | /** |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
71 | * Represents an entry containing information that must be supplied by the |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
72 | * user when joining a chat. |
|
28684
b4c337df39a1
Documented chat API. References #10605
Felix Kerekes <sttwister@soc.pidgin.im>
parents:
27132
diff
changeset
|
73 | */ |
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
74 | typedef struct _PurpleProtocolChatEntry PurpleProtocolChatEntry; |
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
9584
diff
changeset
|
75 | |
|
6622
277eb0b14653
[gaim-migrate @ 7146]
Robert McQueen <robot101@debian.org>
parents:
6451
diff
changeset
|
76 | /** |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
77 | * Protocol options |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
78 | * |
|
36551
8988e6e21acb
Started GObjectification of protocols - added PurpleProtocol, PurpleProtocolClass, PurpleProtocolInterface.
Ankit Vani <a@nevitus.org>
parents:
36545
diff
changeset
|
79 | * These should all be stuff that some protocols can do and others can't. |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
80 | */ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
81 | typedef enum |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
82 | { |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
83 | /** |
|
27132
545109e6826f
Clarify (hopefully) the usage of OPT_PROTO_UNIQUE_CHATNAME; arose in a discussion in #pidgin.
Paul Aurich <darkrain42@pidgin.im>
parents:
26871
diff
changeset
|
84 | * User names are unique to a chat and are not shared between rooms. |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
85 | * |
|
27132
545109e6826f
Clarify (hopefully) the usage of OPT_PROTO_UNIQUE_CHATNAME; arose in a discussion in #pidgin.
Paul Aurich <darkrain42@pidgin.im>
parents:
26871
diff
changeset
|
86 | * XMPP lets you choose what name you want in chats, so it shouldn't |
|
545109e6826f
Clarify (hopefully) the usage of OPT_PROTO_UNIQUE_CHATNAME; arose in a discussion in #pidgin.
Paul Aurich <darkrain42@pidgin.im>
parents:
26871
diff
changeset
|
87 | * be pulling the aliases from the buddy list for the chat list; |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
88 | * it gets annoying. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
89 | */ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
90 | OPT_PROTO_UNIQUE_CHATNAME = 0x00000004, |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
91 | |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
92 | /** |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
93 | * Chat rooms have topics. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
94 | * |
|
16961
b6955f946f8f
s/Jabber/XMPP in user-visible places.
Richard Laager <rlaager@pidgin.im>
parents:
16799
diff
changeset
|
95 | * IRC and XMPP support this. |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
96 | */ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
97 | OPT_PROTO_CHAT_TOPIC = 0x00000008, |
|
1370
de786e8d0146
[gaim-migrate @ 1380]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
1355
diff
changeset
|
98 | |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
99 | /** |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
100 | * Don't require passwords for sign-in. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
101 | * |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
9971
diff
changeset
|
102 | * Zephyr doesn't require passwords, so there's no |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
9971
diff
changeset
|
103 | * need for a password prompt. |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
104 | */ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
105 | OPT_PROTO_NO_PASSWORD = 0x00000010, |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
106 | |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
107 | /** |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
108 | * Notify on new mail. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
109 | * |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
110 | * MSN and Yahoo notify you when you have new mail. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
111 | */ |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
112 | OPT_PROTO_MAIL_CHECK = 0x00000020, |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
113 | |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
114 | /** |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
115 | * Images in IMs. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
116 | * |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
117 | * Oscar lets you send images in direct IMs. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
118 | */ |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
9971
diff
changeset
|
119 | OPT_PROTO_IM_IMAGE = 0x00000040, |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
120 | |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
121 | /** |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
122 | * Allow passwords to be optional. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
123 | * |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
124 | * Passwords in IRC are optional, and are needed for certain |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
125 | * functionality. |
|
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
126 | */ |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
9971
diff
changeset
|
127 | OPT_PROTO_PASSWORD_OPTIONAL = 0x00000080, |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
128 | |
| 5367 | 129 | /** |
| 130 | * Allows font size to be specified in sane point size | |
| 131 | * | |
|
16961
b6955f946f8f
s/Jabber/XMPP in user-visible places.
Richard Laager <rlaager@pidgin.im>
parents:
16799
diff
changeset
|
132 | * Probably just XMPP and Y!M |
| 5367 | 133 | */ |
| 11358 | 134 | OPT_PROTO_USE_POINTSIZE = 0x00000100, |
| 135 | ||
| 136 | /** | |
|
25889
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
25888
diff
changeset
|
137 | * Set the Register button active even when the username has not |
|
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
25888
diff
changeset
|
138 | * been specified. |
| 11358 | 139 | * |
|
25889
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
25888
diff
changeset
|
140 | * Gadu-Gadu doesn't need a username to register new account (because |
|
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
25888
diff
changeset
|
141 | * usernames are assigned by the server). |
| 11358 | 142 | */ |
| 143 | OPT_PROTO_REGISTER_NOSCREENNAME = 0x00000200, | |
| 5367 | 144 | |
|
18092
1a2362194473
Mostly taken from the patch on ticket #410, don't send unknown slash
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17392
diff
changeset
|
145 | /** |
|
1a2362194473
Mostly taken from the patch on ticket #410, don't send unknown slash
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17392
diff
changeset
|
146 | * Indicates that slash commands are native to this protocol. |
|
1a2362194473
Mostly taken from the patch on ticket #410, don't send unknown slash
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17392
diff
changeset
|
147 | * Used as a hint that unknown commands should not be sent as messages. |
|
1a2362194473
Mostly taken from the patch on ticket #410, don't send unknown slash
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17392
diff
changeset
|
148 | */ |
|
31597
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
149 | OPT_PROTO_SLASH_COMMANDS_NATIVE = 0x00000400, |
|
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
150 | |
|
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
151 | /** |
|
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
152 | * Indicates that this protocol supports sending a user-supplied message |
|
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
153 | * along with an invitation. |
|
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
154 | */ |
|
33696
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
155 | OPT_PROTO_INVITE_MESSAGE = 0x00000800, |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
156 | |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
157 | /** |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
158 | * Indicates that this protocol supports sending a user-supplied message |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
159 | * along with an authorization acceptance. |
|
31597
3604d574a028
Add a flag indicating that a prpl allows specifying an invite message.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
160 | */ |
|
33696
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
161 | OPT_PROTO_AUTHORIZATION_GRANTED_MESSAGE = 0x00001000, |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
162 | |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
163 | /** |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
164 | * Indicates that this protocol supports sending a user-supplied message |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
165 | * along with an authorization denial. |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
166 | */ |
|
b210b3afb63d
Add some prpl flags to indicate support for auth response messages.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33568
diff
changeset
|
167 | OPT_PROTO_AUTHORIZATION_DENIED_MESSAGE = 0x00002000 |
|
18092
1a2362194473
Mostly taken from the patch on ticket #410, don't send unknown slash
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17392
diff
changeset
|
168 | |
| 15884 | 169 | } PurpleProtocolOptions; |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
170 | |
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
171 | /** @copydoc PurpleBuddyIconSpec */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
172 | struct _PurpleBuddyIconSpec { |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
173 | /** This is a comma-delimited list of image formats or @c NULL if icons |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
174 | * are not supported. Neither the core nor the protocol will actually |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
175 | * check to see if the data it's given matches this; it's entirely up |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
176 | * to the UI to do what it wants |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
177 | */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
178 | char *format; |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
179 | |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
180 | int min_width; /**< Minimum width of this icon */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
181 | int min_height; /**< Minimum height of this icon */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
182 | int max_width; /**< Maximum width of this icon */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
183 | int max_height; /**< Maximum height of this icon */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
184 | size_t max_filesize; /**< Maximum size in bytes */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
185 | PurpleIconScaleRules scale_rules; /**< How to stretch this icon */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
186 | }; |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
187 | |
|
36581
09d5842255a2
Added missing includes and functions to headers
Ankit Vani <a@nevitus.org>
parents:
36571
diff
changeset
|
188 | #include "protocol.h" |
|
09d5842255a2
Added missing includes and functions to headers
Ankit Vani <a@nevitus.org>
parents:
36571
diff
changeset
|
189 | |
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
190 | #define PURPLE_TYPE_PROTOCOL_CHAT_ENTRY (purple_protocol_chat_entry_get_type()) |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
191 | |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
192 | /** @copydoc PurpleProtocolChatEntry */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
193 | struct _PurpleProtocolChatEntry { |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
194 | const char *label; /**< User-friendly name of the entry */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
195 | const char *identifier; /**< Used by the protocol to identify the option */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
196 | gboolean required; /**< True if it's required */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
197 | gboolean is_int; /**< True if the entry expects an integer */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
198 | int min; /**< Minimum value in case of integer */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
199 | int max; /**< Maximum value in case of integer */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
200 | gboolean secret; /**< True if the entry is secret (password) */ |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
201 | }; |
|
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
202 | |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
203 | /** |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
204 | * Represents an action that the protocol can perform. This shows up in the |
|
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
205 | * Accounts menu, under a submenu with the name of the account. |
|
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
206 | */ |
|
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
207 | struct _PurpleProtocolAction { |
|
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
208 | char *label; |
|
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
209 | PurpleProtocolActionCallback callback; |
|
36451
15fb9e64d477
Replaced PurplePluginProtocolInfo* with PurpleConnection* in PurpleProtocolAction
Ankit Vani <a@nevitus.org>
parents:
36423
diff
changeset
|
210 | PurpleConnection *connection; |
|
36496
e7fe371c60a6
Refactored jabber to use the new API
Ankit Vani <a@nevitus.org>
parents:
36493
diff
changeset
|
211 | gpointer user_data; |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
212 | }; |
|
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
213 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
214 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
215 | |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9943
diff
changeset
|
216 | /**************************************************************************/ |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
217 | /** @name Attention Type API */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
218 | /**************************************************************************/ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
219 | /*@{*/ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
220 | |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
221 | /** TODO |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
222 | * Returns the GType for the #PurpleAttentionType boxed structure. |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
223 | */ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
224 | GType purple_attention_type_get_type(void); |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
225 | |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
226 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
227 | * Creates a new #PurpleAttentionType object and sets its mandatory parameters. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
228 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
229 | * @param ulname A non-localized string that can be used by UIs in need of such |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
230 | * non-localized strings. This should be the same as @a name, |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
231 | * without localization. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
232 | * @param name A localized string that the UI may display for the event. This |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
233 | * should be the same string as @a ulname, with localization. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
234 | * @param inc_desc A localized description shown when the event is received. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
235 | * @param out_desc A localized description shown when the event is sent. |
|
32302
8d7ae15354e1
Hide PurpleAttentionType struct and remove attention @since tags.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31597
diff
changeset
|
236 | * |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
237 | * @return A pointer to the new object. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
238 | */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
239 | PurpleAttentionType *purple_attention_type_new(const char *ulname, const char *name, |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
240 | const char *inc_desc, const char *out_desc); |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
241 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
242 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
243 | * Sets the displayed name of the attention-demanding event. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
244 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
245 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
246 | * @param name The localized name that will be displayed by UIs. This should be |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
247 | * the same string given as the unlocalized name, but with |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
248 | * localization. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
249 | */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
250 | void purple_attention_type_set_name(PurpleAttentionType *type, const char *name); |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
251 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
252 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
253 | * Sets the description of the attention-demanding event shown in conversations |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
254 | * when the event is received. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
255 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
256 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
257 | * @param desc The localized description for incoming events. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
258 | */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
259 | void purple_attention_type_set_incoming_desc(PurpleAttentionType *type, const char *desc); |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
260 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
261 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
262 | * Sets the description of the attention-demanding event shown in conversations |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
263 | * when the event is sent. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
264 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
265 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
266 | * @param desc The localized description for outgoing events. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
267 | */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
268 | void purple_attention_type_set_outgoing_desc(PurpleAttentionType *type, const char *desc); |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
269 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
270 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
271 | * Sets the name of the icon to display for the attention event; this is optional. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
272 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
273 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
274 | * @param name The icon's name. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
275 | * @note Icons are optional for attention events. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
276 | */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
277 | void purple_attention_type_set_icon_name(PurpleAttentionType *type, const char *name); |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
278 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
279 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
280 | * Sets the unlocalized name of the attention event; some UIs may need this, |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
281 | * thus it is required. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
282 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
283 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
284 | * @param ulname The unlocalized name. This should be the same string given as |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
285 | * the localized name, but without localization. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
286 | */ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
287 | void purple_attention_type_set_unlocalized_name(PurpleAttentionType *type, const char *ulname); |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
288 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
289 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
290 | * Get the attention type's name as displayed by the UI. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
291 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
292 | * @param type The attention type. |
|
32302
8d7ae15354e1
Hide PurpleAttentionType struct and remove attention @since tags.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31597
diff
changeset
|
293 | * |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
294 | * @return The name. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
295 | */ |
|
22251
a7c65a128467
const-ify paramteters to some of the new API I added. I thought I did this already.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22225
diff
changeset
|
296 | const char *purple_attention_type_get_name(const PurpleAttentionType *type); |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
297 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
298 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
299 | * Get the attention type's description shown when the event is received. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
300 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
301 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
302 | * @return The description. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
303 | */ |
|
22251
a7c65a128467
const-ify paramteters to some of the new API I added. I thought I did this already.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22225
diff
changeset
|
304 | const char *purple_attention_type_get_incoming_desc(const PurpleAttentionType *type); |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
305 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
306 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
307 | * Get the attention type's description shown when the event is sent. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
308 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
309 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
310 | * @return The description. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
311 | */ |
|
22251
a7c65a128467
const-ify paramteters to some of the new API I added. I thought I did this already.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22225
diff
changeset
|
312 | const char *purple_attention_type_get_outgoing_desc(const PurpleAttentionType *type); |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
313 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
314 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
315 | * Get the attention type's icon name. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
316 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
317 | * @param type The attention type. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
318 | * @return The icon name or @c NULL if unset/empty. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
319 | * @note Icons are optional for attention events. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
320 | */ |
|
22251
a7c65a128467
const-ify paramteters to some of the new API I added. I thought I did this already.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22225
diff
changeset
|
321 | const char *purple_attention_type_get_icon_name(const PurpleAttentionType *type); |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
322 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
323 | /** |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
324 | * Get the attention type's unlocalized name; this is useful for some UIs. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
325 | * |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
326 | * @param type The attention type |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
327 | * @return The unlocalized name. |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
328 | */ |
|
22251
a7c65a128467
const-ify paramteters to some of the new API I added. I thought I did this already.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22225
diff
changeset
|
329 | const char *purple_attention_type_get_unlocalized_name(const PurpleAttentionType *type); |
|
22225
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
330 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
331 | /*@}*/ |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
332 | |
|
6cd802a8c5ad
This adds accessor and mutator API for the PurpleAttentionType struct.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21865
diff
changeset
|
333 | /**************************************************************************/ |
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
334 | /** @name Protocol Action API */ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
335 | /**************************************************************************/ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
336 | /*@{*/ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
337 | |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
338 | /** TODO |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
339 | * Returns the GType for the #PurpleProtocolAction boxed structure. |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
340 | */ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
341 | GType purple_protocol_action_get_type(void); |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
342 | |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
343 | /** TODO A sanity check is needed |
|
36487
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
344 | * Allocates and returns a new PurpleProtocolAction. Use this to add actions in |
| 36493 | 345 | * a list in the get_actions function of the protocol. |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
346 | * |
|
36487
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
347 | * @param label The description of the action to show to the user. |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
348 | * @param callback The callback to call when the user selects this action. |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
349 | */ |
|
36487
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
350 | PurpleProtocolAction *purple_protocol_action_new(const char* label, |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
351 | PurpleProtocolActionCallback callback); |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
352 | |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
353 | /** TODO A sanity check is needed |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
354 | * Frees a PurpleProtocolAction |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
355 | * |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
356 | * @param action The PurpleProtocolAction to free. |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
357 | */ |
|
725e37471387
Make actions a callback again, so that a plugin/protocol can change them
Ankit Vani <a@nevitus.org>
parents:
36471
diff
changeset
|
358 | void purple_protocol_action_free(PurpleProtocolAction *action); |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
359 | |
| 36556 | 360 | /*@}*/ |
| 361 | ||
| 362 | /**************************************************************************/ | |
| 363 | /** @name Buddy Icon Spec API */ | |
| 364 | /**************************************************************************/ | |
| 365 | /*@{*/ | |
| 366 | ||
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
367 | /** TODO |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
368 | * Returns the GType for the #PurpleBuddyIconSpec boxed structure. |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
369 | */ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
370 | GType purple_buddy_icon_spec_get_type(void); |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
371 | |
|
36608
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
372 | /** TODO |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
373 | * Creates a new #PurpleBuddyIconSpec instance. |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
374 | * |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
375 | * @param format A comma-delimited list of image formats or @c NULL if |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
376 | * icons are not supported |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
377 | * @param min_width Minimum width of an icon |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
378 | * @param min_height Minimum height of an icon |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
379 | * @param max_width Maximum width of an icon |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
380 | * @param max_height Maximum height of an icon |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
381 | * @param max_filesize Maximum file size in bytes |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
382 | * @param scale_rules How to stretch this icon |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
383 | * |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
384 | * @return A new buddy icon spec. |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
385 | */ |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
386 | PurpleBuddyIconSpec *purple_buddy_icon_spec_new(char *format, int min_width, |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
387 | int min_height, int max_width, int max_height, size_t max_filesize, |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
388 | PurpleIconScaleRules scale_rules); |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
389 | |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
390 | /** TODO needed? |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
391 | * Destroys a #PurpleBuddyIconSpec instance. |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
392 | * |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
393 | * @param icon_spec The icon spec to destroy. |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
394 | */ |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
395 | void purple_buddy_icon_spec_destroy(PurpleBuddyIconSpec *icon_spec); |
|
bb8dbeba5bed
Changed icon spec member of a protocol to a pointer. Use purple_buddy_icon_spec_new() to create an icon spec instance
Ankit Vani <a@nevitus.org>
parents:
36605
diff
changeset
|
396 | |
| 36556 | 397 | /*@}*/ |
| 398 | ||
| 399 | /**************************************************************************/ | |
| 400 | /** @name Thumbnail API */ | |
| 401 | /**************************************************************************/ | |
| 402 | /*@{*/ | |
| 403 | ||
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
404 | /** TODO |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
405 | * Returns the GType for the #PurpleThumbnailSpec boxed structure. |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
406 | */ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
407 | GType purple_thumbnail_spec_get_type(void); |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
408 | |
| 36556 | 409 | /*@}*/ |
| 410 | ||
| 411 | /**************************************************************************/ | |
| 412 | /** @name Protocol Chat Entry API */ | |
| 413 | /**************************************************************************/ | |
| 414 | /*@{*/ | |
| 415 | ||
|
36554
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
416 | /** TODO |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
417 | * Returns the GType for the #PurpleProtocolChatEntry boxed structure. |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
418 | */ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
419 | GType purple_protocol_chat_entry_get_type(void); |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
420 | |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
421 | /*@}*/ |
|
74191a8680af
Added boilerplate macros, renamed proto_chat_entry to PurpleProtocolChatEntry, and updated documentation
Ankit Vani <a@nevitus.org>
parents:
36553
diff
changeset
|
422 | |
|
36388
207c2716f0a8
Added struct PurpleProtocolAction, and purple_protocol_actions_add().
Ankit Vani <a@nevitus.org>
parents:
36378
diff
changeset
|
423 | /**************************************************************************/ |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
424 | /** @name Protocols API */ |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9943
diff
changeset
|
425 | /**************************************************************************/ |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9943
diff
changeset
|
426 | /*@{*/ |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9943
diff
changeset
|
427 | |
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
428 | /** TODO rename |
|
36551
8988e6e21acb
Started GObjectification of protocols - added PurpleProtocol, PurpleProtocolClass, PurpleProtocolInterface.
Ankit Vani <a@nevitus.org>
parents:
36545
diff
changeset
|
429 | * Finds a protocol by ID. |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
430 | * |
| 36423 | 431 | * @param id The protocol's ID. |
|
4557
40c90b1671cf
[gaim-migrate @ 4837]
Christian Hammond <chipx86@chipx86.com>
parents:
4514
diff
changeset
|
432 | */ |
|
36544
1bf8b6ef5aea
Renamed PurplePluginProtocolInfo to PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36543
diff
changeset
|
433 | PurpleProtocol *purple_find_protocol_info(const char *id); |
| 981 | 434 | |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
435 | /** TODO A sanity check is needed |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
436 | * Adds a protocol to the list of protocols. |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
437 | * |
|
36571
89f3e5748a68
Changed signature of purple_protocols_add() take a GType and return the PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36566
diff
changeset
|
438 | * @param protocol_type The type of the protocol to add. |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
439 | * |
|
36571
89f3e5748a68
Changed signature of purple_protocols_add() take a GType and return the PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36566
diff
changeset
|
440 | * @return The protocol instance if the protocol was added, else @c NULL. |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
441 | */ |
|
36571
89f3e5748a68
Changed signature of purple_protocols_add() take a GType and return the PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36566
diff
changeset
|
442 | PurpleProtocol *purple_protocols_add(GType protocol_type); |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
443 | |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
444 | /** TODO A sanity check is needed |
|
36471
5272e3736c71
Mention that accounts will be disconnected on protocol's removal
Ankit Vani <a@nevitus.org>
parents:
36469
diff
changeset
|
445 | * Removes a protocol from the list of protocols. This will disconnect all |
| 36493 | 446 | * connected accounts using this protocol, and free the protocol's user splits |
| 447 | * and protocol options. | |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
448 | * |
|
36544
1bf8b6ef5aea
Renamed PurplePluginProtocolInfo to PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36543
diff
changeset
|
449 | * @param protocol The protocol to remove. |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
450 | * |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
451 | * @return TRUE if the protocol was removed, else FALSE. |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
452 | */ |
|
36544
1bf8b6ef5aea
Renamed PurplePluginProtocolInfo to PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36543
diff
changeset
|
453 | gboolean purple_protocols_remove(PurpleProtocol *protocol); |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
454 | |
|
36378
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
455 | /** TODO A sanity check is needed |
|
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
456 | * Returns a list of all loaded protocols. |
|
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
457 | * |
|
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
458 | * @constreturn A list of all loaded protocols. |
|
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
459 | */ |
|
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
460 | GList *purple_protocols_get_all(void); |
|
d51a8507f4e0
Added purple_protocols_get_all()
Ankit Vani <a@nevitus.org>
parents:
36375
diff
changeset
|
461 | |
|
36375
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
462 | /*@}*/ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
463 | |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
464 | /**************************************************************************/ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
465 | /** @name Protocols Subsytem API */ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
466 | /**************************************************************************/ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
467 | /*@{*/ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
468 | |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
469 | /** |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
470 | * Initializes the protocols subsystem. |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
471 | */ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
472 | void purple_protocols_init(void); |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
473 | |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
474 | /** TODO Make protocols use this handle, instead of plugins handle |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
475 | * Returns the protocols subsystem handle. |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
476 | * |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
477 | * @return The protocols subsystem handle. |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
478 | */ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
479 | void *purple_protocols_get_handle(void); |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
480 | |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
481 | /** |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
482 | * Uninitializes the protocols subsystem. |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
483 | */ |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
484 | void purple_protocols_uninit(void); |
|
8ed701a7333e
Added a protocols subsystem API and a protocols API to add/remove protocols.
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
485 | |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9943
diff
changeset
|
486 | /*@}*/ |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9943
diff
changeset
|
487 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
488 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
489 | |
|
36563
5ecb9a6c4611
Added protocol.[ch] and moved PurpleProtocol and PurpleProtocolInterface to it
Ankit Vani <a@nevitus.org>
parents:
36562
diff
changeset
|
490 | #endif /* _PROTOCOLS_H_ */ |