Mercurial > pidgin.yaz
annotate libpurple/protocols/yahoo/libyahoojp.c @ 32692:0f94ec89f0bc
merged from im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 26 Sep 2011 14:57:21 +0900 |
parents | 8b9e9c61d061 c6943fd38d44 |
children |
rev | line source |
---|---|
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
1 /* |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
2 * purple |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
3 * |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
4 * Purple is the legal property of its developers, whose names are too numerous |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
5 * to list here. Please refer to the COPYRIGHT file distributed with this |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
6 * source distribution. |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
7 * |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
8 * This program is free software; you can redistribute it and/or modify |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
9 * it under the terms of the GNU General Public License as published by |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
10 * the Free Software Foundation; either version 2 of the License, or |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
11 * (at your option) any later version. |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
12 * |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
13 * This program is distributed in the hope that it will be useful, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
16 * GNU General Public License for more details. |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
17 * |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
18 * You should have received a copy of the GNU General Public License |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
19 * along with this program; if not, write to the Free Software |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
21 * |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
22 */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
23 |
27399
1f63548d3da5
Add header includes. I still have not yet tested building this.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27397
diff
changeset
|
24 #include "internal.h" |
1f63548d3da5
Add header includes. I still have not yet tested building this.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27397
diff
changeset
|
25 |
1f63548d3da5
Add header includes. I still have not yet tested building this.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27397
diff
changeset
|
26 #include <account.h> |
27400
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
27 |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
28 #include "libymsg.h" |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
29 #include "yahoochat.h" |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
30 #include "yahoo_aliases.h" |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
31 #include "yahoo_doodle.h" |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
32 #include "yahoo_filexfer.h" |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
33 #include "yahoo_picture.h" |
27964
d3871a303c6c
adapted to jp separation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
27469
diff
changeset
|
34 #include "ycht.h" |
27400
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
35 |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
36 static void yahoojp_register_commands(void) |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
37 { |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
38 purple_cmd_register("join", "s", PURPLE_CMD_P_PRPL, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
39 PURPLE_CMD_FLAG_IM | PURPLE_CMD_FLAG_CHAT | |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
40 PURPLE_CMD_FLAG_PRPL_ONLY, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
41 "prpl-yahoojp", yahoopurple_cmd_chat_join, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
42 _("join <room>: Join a chat room on the Yahoo network"), NULL); |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
43 purple_cmd_register("list", "", PURPLE_CMD_P_PRPL, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
44 PURPLE_CMD_FLAG_IM | PURPLE_CMD_FLAG_CHAT | |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
45 PURPLE_CMD_FLAG_PRPL_ONLY, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
46 "prpl-yahoojp", yahoopurple_cmd_chat_list, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
47 _("list: List rooms on the Yahoo network"), NULL); |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
48 purple_cmd_register("buzz", "", PURPLE_CMD_P_PRPL, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
49 PURPLE_CMD_FLAG_IM | PURPLE_CMD_FLAG_PRPL_ONLY, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
50 "prpl-yahoojp", yahoopurple_cmd_buzz, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
51 _("buzz: Buzz a user to get their attention"), NULL); |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
52 purple_cmd_register("doodle", "", PURPLE_CMD_P_PRPL, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
53 PURPLE_CMD_FLAG_IM | PURPLE_CMD_FLAG_PRPL_ONLY, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
54 "prpl-yahoojp", yahoo_doodle_purple_cmd_start, |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
55 _("doodle: Request user to start a Doodle session"), NULL); |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
56 } |
27399
1f63548d3da5
Add header includes. I still have not yet tested building this.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27397
diff
changeset
|
57 |
27397
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
58 static GHashTable * |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
59 yahoojp_get_account_text_table(PurpleAccount *account) |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
60 { |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
61 GHashTable *table; |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
62 table = g_hash_table_new(g_str_hash, g_str_equal); |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
63 g_hash_table_insert(table, "login_label", (gpointer)_("Yahoo JAPAN ID...")); |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
64 return table; |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
65 } |
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
66 |
27400
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
67 static gboolean yahoojp_unload_plugin(PurplePlugin *plugin) |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
68 { |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
69 yahoo_dest_colorht(); |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
70 |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
71 return TRUE; |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
72 } |
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
73 |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
74 static PurpleWhiteboardPrplOps yahoo_whiteboard_prpl_ops = |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
75 { |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
76 yahoo_doodle_start, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
77 yahoo_doodle_end, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
78 yahoo_doodle_get_dimensions, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
79 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
80 yahoo_doodle_get_brush, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
81 yahoo_doodle_set_brush, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
82 yahoo_doodle_send_draw_list, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
83 yahoo_doodle_clear, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
84 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
85 /* padding */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
86 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
87 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
88 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
89 NULL |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
90 }; |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
91 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
92 static PurplePluginProtocolInfo prpl_info = |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
93 { |
32493
743bb6b1aa30
Move struct_size to the beginning of the struct. Even if we don't
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32492
diff
changeset
|
94 sizeof(PurplePluginProtocolInfo), /* struct_size */ |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
95 OPT_PROTO_MAIL_CHECK | OPT_PROTO_CHAT_TOPIC, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
96 NULL, /* user_splits */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
97 NULL, /* protocol_options */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
98 {"png,gif,jpeg", 96, 96, 96, 96, 0, PURPLE_ICON_SCALE_SEND}, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
99 yahoo_list_icon, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
100 yahoo_list_emblem, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
101 yahoo_status_text, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
102 yahoo_tooltip_text, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
103 yahoo_status_types, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
104 yahoo_blist_node_menu, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
105 yahoo_c_info, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
106 yahoo_c_info_defaults, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
107 yahoo_login, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
108 yahoo_close, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
109 yahoo_send_im, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
110 NULL, /* set info */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
111 yahoo_send_typing, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
112 yahoo_get_info, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
113 yahoo_set_status, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
114 yahoo_set_idle, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
115 NULL, /* change_passwd*/ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
116 yahoo_add_buddy, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
117 NULL, /* add_buddies */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
118 yahoo_remove_buddy, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
119 NULL, /* remove_buddies */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
120 NULL, /* add_permit */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
121 yahoo_add_deny, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
122 NULL, /* rem_permit */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
123 yahoo_rem_deny, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
124 yahoo_set_permit_deny, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
125 yahoo_c_join, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
126 NULL, /* reject chat invite */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
127 yahoo_get_chat_name, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
128 yahoo_c_invite, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
129 yahoo_c_leave, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
130 NULL, /* chat whisper */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
131 yahoo_c_send, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
132 yahoo_keepalive, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
133 NULL, /* register_user */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
134 NULL, /* get_cb_info */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
135 yahoo_update_alias, /* alias_buddy */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
136 yahoo_change_buddys_group, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
137 yahoo_rename_group, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
138 NULL, /* buddy_free */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
139 NULL, /* convo_closed */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
140 purple_normalize_nocase, /* normalize */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
141 yahoo_set_buddy_icon, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
142 NULL, /* void (*remove_group)(PurpleConnection *gc, const char *group);*/ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
143 NULL, /* char *(*get_cb_real_name)(PurpleConnection *gc, int id, const char *who); */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
144 NULL, /* set_chat_topic */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
145 NULL, /* find_blist_chat */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
146 yahoo_roomlist_get_list, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
147 yahoo_roomlist_cancel, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
148 yahoo_roomlist_expand_category, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
149 NULL, /* can_receive_file */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
150 yahoo_send_file, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
151 yahoo_new_xfer, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
152 yahoo_offline_message, /* offline_message */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
153 &yahoo_whiteboard_prpl_ops, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
154 NULL, /* send_raw */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
155 NULL, /* roomlist_room_serialize */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
156 NULL, /* unregister_user */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
157 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
158 yahoo_send_attention, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
159 yahoo_attention_types, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
160 |
27397
1f30c4a47e3d
have a separate hash table function for each prpl.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27396
diff
changeset
|
161 yahoojp_get_account_text_table, /* get_account_text_table */ |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
162 NULL, /* initiate_media */ |
29874
2cb6ea4420a0
Add a NULL for PurplePluginProtocolInfo::get_moods to all the plugins I build
Paul Aurich <paul@darkrain42.org>
parents:
28394
diff
changeset
|
163 NULL, /* get_media_caps */ |
30262
2a436e0ce977
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <paul@darkrain42.org>
parents:
30087
diff
changeset
|
164 NULL, /* get_moods */ |
2a436e0ce977
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <paul@darkrain42.org>
parents:
30087
diff
changeset
|
165 NULL, /* set_public_alias */ |
32492
cd1d9e04c587
Rename the _with_invite functions to their counterparts.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31847
diff
changeset
|
166 NULL /* get_public_alias */ |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
167 }; |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
168 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
169 static PurplePluginInfo info = |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
170 { |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
171 PURPLE_PLUGIN_MAGIC, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
172 PURPLE_MAJOR_VERSION, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
173 PURPLE_MINOR_VERSION, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
174 PURPLE_PLUGIN_PROTOCOL, /**< type */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
175 NULL, /**< ui_requirement */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
176 0, /**< flags */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
177 NULL, /**< dependencies */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
178 PURPLE_PRIORITY_DEFAULT, /**< priority */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
179 "prpl-yahoojp", /**< id */ |
28267
6d3f3473cb4c
Fix Yahoo emoticon sets and make Yahoo-Japan consistent.
Paul Aurich <paul@darkrain42.org>
parents:
27469
diff
changeset
|
180 "Yahoo JAPAN", /**< name */ |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
181 DISPLAY_VERSION, /**< version */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
182 /** summary */ |
27469
ca66c299dbbf
This looked wrong to me.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27400
diff
changeset
|
183 N_("Yahoo! JAPAN Protocol Plugin"), |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
184 /** description */ |
27469
ca66c299dbbf
This looked wrong to me.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27400
diff
changeset
|
185 N_("Yahoo! JAPAN Protocol Plugin"), |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
186 NULL, /**< author */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
187 PURPLE_WEBSITE, /**< homepage */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
188 NULL, /**< load */ |
27400
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
189 yahoojp_unload_plugin, /**< unload */ |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
190 NULL, /**< destroy */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
191 NULL, /**< ui_info */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
192 &prpl_info, /**< extra_info */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
193 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
194 yahoo_actions, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
195 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
196 /* padding */ |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
197 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
198 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
199 NULL, |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
200 NULL |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
201 }; |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
202 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
203 static void |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
204 init_plugin(PurplePlugin *plugin) |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
205 { |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
206 PurpleAccountOption *option; |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
207 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
208 option = purple_account_option_int_new(_("Pager port"), "port", YAHOO_PAGER_PORT); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
209 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
210 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
211 option = purple_account_option_string_new(_("File transfer server"), "xfer_host", YAHOOJP_XFER_HOST); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
212 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
213 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
214 option = purple_account_option_int_new(_("File transfer port"), "xfer_port", YAHOO_XFER_PORT); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
215 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
216 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
217 option = purple_account_option_string_new(_("Chat room locale"), "room_list_locale", YAHOOJP_ROOMLIST_LOCALE); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
218 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
219 |
28394
74958cad186d
Add a boolean account option (defaulting to off) to control whether to use
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28267
diff
changeset
|
220 option = purple_account_option_string_new(_("Encoding"), "local_charset", "UTF-8"); |
74958cad186d
Add a boolean account option (defaulting to off) to control whether to use
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28267
diff
changeset
|
221 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
74958cad186d
Add a boolean account option (defaulting to off) to control whether to use
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28267
diff
changeset
|
222 |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
223 option = purple_account_option_bool_new(_("Ignore conference and chatroom invitations"), "ignore_invites", FALSE); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
224 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
225 |
30602
27aff21c5eea
Change the function of the "proxy_ssl" account option to cover regular HTTP
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30262
diff
changeset
|
226 option = purple_account_option_bool_new(_("Use account proxy for HTTP and HTTPS connections"), "proxy_ssl", FALSE); |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
227 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
228 |
30091
1f1d58d35746
revive unexpectedly removed options.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
30090
diff
changeset
|
229 #if 1 |
27964
d3871a303c6c
adapted to jp separation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
27469
diff
changeset
|
230 option = purple_account_option_string_new(_("Chat room list URL"), "room_list", YAHOOJP_ROOMLIST_URL); |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
231 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
232 |
30091
1f1d58d35746
revive unexpectedly removed options.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
30090
diff
changeset
|
233 option = purple_account_option_string_new(_("Yahoo Chat server"), "ycht-server", YAHOOJP_YCHT_HOST); |
1f1d58d35746
revive unexpectedly removed options.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
30090
diff
changeset
|
234 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
1f1d58d35746
revive unexpectedly removed options.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
30090
diff
changeset
|
235 |
1f1d58d35746
revive unexpectedly removed options.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
30090
diff
changeset
|
236 option = purple_account_option_int_new(_("Yahoo Chat port"), "ycht-port", YAHOOJP_YCHT_PORT); |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
237 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
238 #endif |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
239 |
27400
31534ae3406a
Moved functions around and made some no longer static. All the functions
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27399
diff
changeset
|
240 yahoojp_register_commands(); |
27396
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
241 yahoo_init_colorht(); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
242 } |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
243 |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
244 PURPLE_INIT_PLUGIN(yahoojp, init_plugin, info); |
4aa78e6524b1
Very rudimentary start to separate prpls. Removed URI handler from the
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
diff
changeset
|
245 |