comparison libpurple/protocols/oscar/libicq.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
25 */ 25 */
26 26
27 27
28 #include "oscarcommon.h" 28 #include "oscarcommon.h"
29 29
30 static GaimPluginProtocolInfo prpl_info = 30 static PurplePluginProtocolInfo prpl_info =
31 { 31 {
32 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE, 32 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE,
33 NULL, /* user_splits */ 33 NULL, /* user_splits */
34 NULL, /* protocol_options */ 34 NULL, /* protocol_options */
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_icq, /* list_icon */ 37 oscar_list_icon_icq, /* 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-icq", /**< id */ 108 "prpl-icq", /**< id */
109 "ICQ", /**< name */ 109 "ICQ", /**< name */
110 VERSION, /**< version */ 110 VERSION, /**< version */
111 /** summary */ 111 /** summary */
112 N_("ICQ Protocol Plugin"), 112 N_("ICQ Protocol Plugin"),
113 /** description */ 113 /** description */
114 N_("ICQ Protocol Plugin"), 114 N_("ICQ 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 GaimAccountOption *option; 131 PurpleAccountOption *option;
132 132
133 oscar_init(GAIM_PLUGIN_PROTOCOL_INFO(plugin)); 133 oscar_init(PURPLE_PLUGIN_PROTOCOL_INFO(plugin));
134 134
135 option = gaim_account_option_string_new(_("Encoding"), "encoding", OSCAR_DEFAULT_CUSTOM_ENCODING); 135 option = purple_account_option_string_new(_("Encoding"), "encoding", OSCAR_DEFAULT_CUSTOM_ENCODING);
136 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); 136 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
137 } 137 }
138 138
139 GAIM_INIT_PLUGIN(icq, init_plugin, info); 139 PURPLE_INIT_PLUGIN(icq, init_plugin, info);