comparison libpurple/protocols/gg/gg.c @ 32763:326591e64aaa

Gadu-Gadu: move our win32 resolver out of libgadu sources. Refs #343
author tomkiewicz@cpw.pidgin.im
date Mon, 17 Oct 2011 21:25:53 +0000
parents 26ffd7fdba7d
children ef01f180114b
comparison
equal deleted inserted replaced
32762:9c9143e32b6c 32763:326591e64aaa
44 #include "gg.h" 44 #include "gg.h"
45 #include "confer.h" 45 #include "confer.h"
46 #include "search.h" 46 #include "search.h"
47 #include "buddylist.h" 47 #include "buddylist.h"
48 #include "gg-utils.h" 48 #include "gg-utils.h"
49
50 #ifdef _WIN32
51 # include "win32-resolver.h"
52 #endif
49 53
50 static PurplePlugin *my_protocol = NULL; 54 static PurplePlugin *my_protocol = NULL;
51 55
52 /* Prototypes */ 56 /* Prototypes */
53 static void ggp_set_status(PurpleAccount *account, PurpleStatus *status); 57 static void ggp_set_status(PurpleAccount *account, PurpleStatus *status);
2998 option); 3002 option);
2999 3003
3000 my_protocol = plugin; 3004 my_protocol = plugin;
3001 3005
3002 gg_debug_handler = purple_gg_debug_handler; 3006 gg_debug_handler = purple_gg_debug_handler;
3007
3008 #ifdef _WIN32
3009 gg_global_set_custom_resolver(ggp_resolver_win32thread_start,
3010 ggp_resolver_win32thread_cleanup);
3011 #endif
3003 } 3012 }
3004 3013
3005 PURPLE_INIT_PLUGIN(gg, init_plugin, info); 3014 PURPLE_INIT_PLUGIN(gg, init_plugin, info);
3006 3015
3007 /* vim: set ts=8 sts=0 sw=8 noet: */ 3016 /* vim: set ts=8 sts=0 sw=8 noet: */