libpurple/protocols/myspace/myspace.c

branch
soc.2013.gobjectification.plugins
changeset 36660
ddb40f691d20
parent 36657
4a7f5f97d1ec
child 36678
ed9d10d8e45a
equal deleted inserted replaced
36659:fbaa6f248ebc 36660:ddb40f691d20
3380 3380
3381 /** 3381 /**
3382 * Protocol attributes and options. 3382 * Protocol attributes and options.
3383 */ 3383 */
3384 static void 3384 static void
3385 msim_protocol_base_init(MySpaceProtocolClass *klass) 3385 msim_protocol_base_init(MsimProtocolClass *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 = "myspace"; 3390 proto_class->id = "myspace";
3454 iface->send_attention = msim_send_attention; 3454 iface->send_attention = msim_send_attention;
3455 iface->get_attention_types = msim_attention_types; 3455 iface->get_attention_types = msim_attention_types;
3456 iface->get_account_text_table = msim_get_account_text_table; 3456 iface->get_account_text_table = msim_get_account_text_table;
3457 } 3457 }
3458 3458
3459 static void msim_protocol_base_finalize(MySpaceProtocolClass *klass) { } 3459 static void msim_protocol_base_finalize(MsimProtocolClass *klass) { }
3460 3460
3461 /** 3461 /**
3462 * Query the plugin 3462 * Query the plugin
3463 */ 3463 */
3464 static PurplePluginInfo * 3464 static PurplePluginInfo *
3518 3518
3519 return TRUE; 3519 return TRUE;
3520 } 3520 }
3521 3521
3522 static PurplePlugin *my_plugin; 3522 static PurplePlugin *my_plugin;
3523 PURPLE_PROTOCOL_DEFINE(my_plugin, MySpaceProtocol, msim_protocol); 3523 PURPLE_PROTOCOL_DEFINE(my_plugin, MsimProtocol, msim_protocol);
3524 PURPLE_PLUGIN_INIT_VAL(my_plugin, myspace, plugin_query, plugin_load, 3524 PURPLE_PLUGIN_INIT_VAL(my_plugin, myspace, plugin_query, plugin_load,
3525 plugin_unload); 3525 plugin_unload);

mercurial