| 3385 msim_protocol_base_init(MySpaceProtocolClass *klass) |
3385 msim_protocol_base_init(MySpaceProtocolClass *klass) |
| 3386 { |
3386 { |
| 3387 PurpleProtocolClass *proto_class = PURPLE_PROTOCOL_CLASS(klass); |
3387 PurpleProtocolClass *proto_class = PURPLE_PROTOCOL_CLASS(klass); |
| 3388 PurpleAccountOption *option; |
3388 PurpleAccountOption *option; |
| 3389 |
3389 |
| 3390 proto_class->id = MSIM_ID; |
3390 proto_class->id = "myspace"; |
| 3391 proto_class->name = MSIM_NAME; |
3391 proto_class->name = "MySpaceIM"; |
| 3392 proto_class->options = OPT_PROTO_USE_POINTSIZE /* specify font size in sane point size */ |
3392 proto_class->options = OPT_PROTO_USE_POINTSIZE /* specify font size in sane point size */ |
| 3393 | OPT_PROTO_MAIL_CHECK; |
3393 | OPT_PROTO_MAIL_CHECK; |
| 3394 /* | OPT_PROTO_IM_IMAGE - TODO: direct images. */ |
3394 /* | OPT_PROTO_IM_IMAGE - TODO: direct images. */ |
| 3395 /* TODO: eventually should add icon_spec */ |
3395 /* TODO: eventually should add icon_spec */ |
| 3396 |
3396 |
| 3463 */ |
3463 */ |
| 3464 static PurplePluginInfo * |
3464 static PurplePluginInfo * |
| 3465 plugin_query(GError **error) |
3465 plugin_query(GError **error) |
| 3466 { |
3466 { |
| 3467 return purple_plugin_info_new( |
3467 return purple_plugin_info_new( |
| 3468 "id", MSIM_ID, |
3468 "id", "protocol-myspace", |
| 3469 "name", MSIM_NAME, |
3469 "name", "MySpaceIM Protocol", |
| 3470 "version", MSIM_PROTOCOL_VERSION_STRING, |
3470 "version", MSIM_PROTOCOL_VERSION_STRING, |
| 3471 "category", "Protocol", |
3471 "category", "Protocol", |
| 3472 "summary", "MySpaceIM Protocol Plugin", |
3472 "summary", "MySpaceIM Protocol Plugin", |
| 3473 "description", "MySpaceIM Protocol Plugin", |
3473 "description", "MySpaceIM Protocol Plugin", |
| 3474 "author", "Jeff Connelly <jeff2@soc.pidgin.im>", |
3474 "author", "Jeff Connelly <jeff2@soc.pidgin.im>", |