Mercurial > pidgin
comparison libpurple/protocols/oscar/libaim.c @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 71af5b6209d5 |
children | a338acd14365 |
comparison
equal
deleted
inserted
replaced
15821:84b0f9b23ede | 15822:32c366eeeb99 |
---|---|
1 /* gaim | 1 /* purple |
2 * | 2 * |
3 * Gaim is the legal property of its developers, whose names are too numerous | 3 * Purple is the legal property of its developers, whose names are too numerous |
4 * to list here. Please refer to the COPYRIGHT file distributed with this | 4 * to list here. Please refer to the COPYRIGHT file distributed with this |
5 * source distribution. | 5 * source distribution. |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
24 * which contains all the shared implementation code with libicq | 24 * which contains all the shared implementation code with libicq |
25 */ | 25 */ |
26 | 26 |
27 #include "oscarcommon.h" | 27 #include "oscarcommon.h" |
28 | 28 |
29 static GaimPluginProtocolInfo prpl_info = | 29 static PurplePluginProtocolInfo prpl_info = |
30 { | 30 { |
31 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE, | 31 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE, |
32 NULL, /* user_splits */ | 32 NULL, /* user_splits */ |
33 NULL, /* protocol_options */ | 33 NULL, /* protocol_options */ |
34 /* The mimimum icon size below is not needed in AIM 6.0 */ | 34 /* The mimimum icon size below is not needed in AIM 6.0 */ |
35 {"gif,jpeg,bmp,ico", 48, 48, 50, 50, 7168, | 35 {"gif,jpeg,bmp,ico", 48, 48, 50, 50, 7168, |
36 GAIM_ICON_SCALE_SEND | GAIM_ICON_SCALE_DISPLAY}, /* icon_spec */ | 36 PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */ |
37 oscar_list_icon_aim, /* list_icon */ | 37 oscar_list_icon_aim, /* list_icon */ |
38 oscar_list_emblem, /* list_emblems */ | 38 oscar_list_emblem, /* list_emblems */ |
39 oscar_status_text, /* status_text */ | 39 oscar_status_text, /* status_text */ |
40 oscar_tooltip_text, /* tooltip_text */ | 40 oscar_tooltip_text, /* tooltip_text */ |
41 oscar_status_types, /* status_types */ | 41 oscar_status_types, /* status_types */ |
92 NULL, /* whiteboard_prpl_ops */ | 92 NULL, /* whiteboard_prpl_ops */ |
93 NULL, /* send_raw */ | 93 NULL, /* send_raw */ |
94 NULL, /* roomlist_room_serialize */ | 94 NULL, /* roomlist_room_serialize */ |
95 }; | 95 }; |
96 | 96 |
97 static GaimPluginInfo info = | 97 static PurplePluginInfo info = |
98 { | 98 { |
99 GAIM_PLUGIN_MAGIC, | 99 PURPLE_PLUGIN_MAGIC, |
100 GAIM_MAJOR_VERSION, | 100 PURPLE_MAJOR_VERSION, |
101 GAIM_MINOR_VERSION, | 101 PURPLE_MINOR_VERSION, |
102 GAIM_PLUGIN_PROTOCOL, /**< type */ | 102 PURPLE_PLUGIN_PROTOCOL, /**< type */ |
103 NULL, /**< ui_requirement */ | 103 NULL, /**< ui_requirement */ |
104 0, /**< flags */ | 104 0, /**< flags */ |
105 NULL, /**< dependencies */ | 105 NULL, /**< dependencies */ |
106 GAIM_PRIORITY_DEFAULT, /**< priority */ | 106 PURPLE_PRIORITY_DEFAULT, /**< priority */ |
107 | 107 |
108 "prpl-aim", /**< id */ | 108 "prpl-aim", /**< id */ |
109 "AIM", /**< name */ | 109 "AIM", /**< name */ |
110 VERSION, /**< version */ | 110 VERSION, /**< version */ |
111 /** summary */ | 111 /** summary */ |
112 N_("AIM Protocol Plugin"), | 112 N_("AIM Protocol Plugin"), |
113 /** description */ | 113 /** description */ |
114 N_("AIM Protocol Plugin"), | 114 N_("AIM Protocol Plugin"), |
115 NULL, /**< author */ | 115 NULL, /**< author */ |
116 GAIM_WEBSITE, /**< homepage */ | 116 PURPLE_WEBSITE, /**< homepage */ |
117 | 117 |
118 NULL, /**< load */ | 118 NULL, /**< load */ |
119 NULL, /**< unload */ | 119 NULL, /**< unload */ |
120 NULL, /**< destroy */ | 120 NULL, /**< destroy */ |
121 | 121 |
124 NULL, | 124 NULL, |
125 oscar_actions | 125 oscar_actions |
126 }; | 126 }; |
127 | 127 |
128 static void | 128 static void |
129 init_plugin(GaimPlugin *plugin) | 129 init_plugin(PurplePlugin *plugin) |
130 { | 130 { |
131 oscar_init(GAIM_PLUGIN_PROTOCOL_INFO(plugin)); | 131 oscar_init(PURPLE_PLUGIN_PROTOCOL_INFO(plugin)); |
132 } | 132 } |
133 | 133 |
134 GAIM_INIT_PLUGIN(aim, init_plugin, info); | 134 PURPLE_INIT_PLUGIN(aim, init_plugin, info); |