comparison libpurple/protocols/yahoo/libyahoojp.c @ 27315:1f30c4a47e3d

have a separate hash table function for each prpl.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 05 Jul 2009 14:14:14 +0000
parents 4aa78e6524b1
children 1f63548d3da5
comparison
equal deleted inserted replaced
27314:4aa78e6524b1 27315:1f30c4a47e3d
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 * 21 *
22 */ 22 */
23
24 static GHashTable *
25 yahoojp_get_account_text_table(PurpleAccount *account)
26 {
27 GHashTable *table;
28 table = g_hash_table_new(g_str_hash, g_str_equal);
29 g_hash_table_insert(table, "login_label", (gpointer)_("Yahoo JAPAN ID..."));
30 return table;
31 }
23 32
24 static PurpleWhiteboardPrplOps yahoo_whiteboard_prpl_ops = 33 static PurpleWhiteboardPrplOps yahoo_whiteboard_prpl_ops =
25 { 34 {
26 yahoo_doodle_start, 35 yahoo_doodle_start,
27 yahoo_doodle_end, 36 yahoo_doodle_end,
107 116
108 yahoo_send_attention, 117 yahoo_send_attention,
109 yahoo_attention_types, 118 yahoo_attention_types,
110 119
111 sizeof(PurplePluginProtocolInfo), /* struct_size */ 120 sizeof(PurplePluginProtocolInfo), /* struct_size */
112 yahoo_get_account_text_table, /* get_account_text_table */ 121 yahoojp_get_account_text_table, /* get_account_text_table */
113 NULL, /* initiate_media */ 122 NULL, /* initiate_media */
114 NULL /* can_do_media */ 123 NULL /* can_do_media */
115 }; 124 };
116 125
117 static PurplePluginInfo info = 126 static PurplePluginInfo info =