comparison src/protocols/oscar/oscar.c @ 10653:20cbadb004a0

[gaim-migrate @ 12181] sf patch #1152650, from Richard Laager Gets rid of a compile warning in oscar committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 06 Mar 2005 00:10:54 +0000
parents 6a618db0a404
children f2e86683cafc
comparison
equal deleted inserted replaced
10652:252598b411d8 10653:20cbadb004a0
7613 presence |= 0x00020000; 7613 presence |= 0x00020000;
7614 aim_ssi_setpresence(sess, presence); 7614 aim_ssi_setpresence(sess, presence);
7615 } 7615 }
7616 } 7616 }
7617 7617
7618 #if USE_PRPL_PREFERENCES
7618 static GaimPluginPrefFrame * 7619 static GaimPluginPrefFrame *
7619 get_plugin_pref_frame(GaimPlugin *plugin) 7620 get_plugin_pref_frame(GaimPlugin *plugin)
7620 { 7621 {
7621 GaimPluginPrefFrame *frame; 7622 GaimPluginPrefFrame *frame;
7622 GaimPluginPref *ppref; 7623 GaimPluginPref *ppref;
7629 ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/prpl/oscar/show_idle", _("Show how long you have been idle")); 7630 ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/prpl/oscar/show_idle", _("Show how long you have been idle"));
7630 gaim_plugin_pref_frame_add(frame, ppref); 7631 gaim_plugin_pref_frame_add(frame, ppref);
7631 7632
7632 return frame; 7633 return frame;
7633 } 7634 }
7635 #endif
7634 7636
7635 static GaimPluginProtocolInfo prpl_info = 7637 static GaimPluginProtocolInfo prpl_info =
7636 { 7638 {
7637 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE, 7639 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE,
7638 NULL, /* user_splits */ 7640 NULL, /* user_splits */
7698 NULL, /* roomlist_expand_category */ 7700 NULL, /* roomlist_expand_category */
7699 oscar_can_receive_file, /* can_receive_file */ 7701 oscar_can_receive_file, /* can_receive_file */
7700 oscar_send_file /* send_file */ 7702 oscar_send_file /* send_file */
7701 }; 7703 };
7702 7704
7705 #if USE_PRPL_PREFERENCES
7703 static GaimPluginUiInfo prefs_info = { 7706 static GaimPluginUiInfo prefs_info = {
7704 get_plugin_pref_frame 7707 get_plugin_pref_frame
7705 }; 7708 };
7709 #endif
7706 7710
7707 static GaimPluginInfo info = 7711 static GaimPluginInfo info =
7708 { 7712 {
7709 GAIM_PLUGIN_MAGIC, 7713 GAIM_PLUGIN_MAGIC,
7710 GAIM_MAJOR_VERSION, 7714 GAIM_MAJOR_VERSION,
7729 NULL, /**< unload */ 7733 NULL, /**< unload */
7730 NULL, /**< destroy */ 7734 NULL, /**< destroy */
7731 7735
7732 NULL, /**< ui_info */ 7736 NULL, /**< ui_info */
7733 &prpl_info, /**< extra_info */ 7737 &prpl_info, /**< extra_info */
7738 #if USE_PRPL_PREFERENCES
7734 NULL, /**< prefs_info */ 7739 NULL, /**< prefs_info */
7740 #else
7741 NULL, /**< prefs_info */
7742 #endif
7735 oscar_actions 7743 oscar_actions
7736 }; 7744 };
7737 7745
7738 static void 7746 static void
7739 init_plugin(GaimPlugin *plugin) 7747 init_plugin(GaimPlugin *plugin)