comparison libpurple/core.c @ 15612:b0471b2a1de9

Core support for external protocol URIs. The actual handling of the URIs will be in the prpls and other plugins. This commit only includes the win32 method of actually passing in a URI - the dbus implementation still needs to be written.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 11 Feb 2007 00:46:43 +0000
parents 5fe8042783c1
children 32c366eeeb99
comparison
equal deleted inserted replaced
15611:5dd46cb1a80a 15612:b0471b2a1de9
81 ops = gaim_core_get_ui_ops(); 81 ops = gaim_core_get_ui_ops();
82 82
83 /* The signals subsystem is important and should be first. */ 83 /* The signals subsystem is important and should be first. */
84 gaim_signals_init(); 84 gaim_signals_init();
85 85
86 gaim_signal_register(core, "uri-handler",
87 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER,
88 gaim_value_new(GAIM_TYPE_BOOLEAN), 3,
89 gaim_value_new(GAIM_TYPE_STRING), /* Protocol */
90 gaim_value_new(GAIM_TYPE_STRING), /* Command */
91 gaim_value_new(GAIM_TYPE_BOXED, "GHashTable *")); /* Parameters */
92
86 gaim_signal_register(core, "quitting", gaim_marshal_VOID, NULL, 0); 93 gaim_signal_register(core, "quitting", gaim_marshal_VOID, NULL, 0);
87 94
88 /* The prefs subsystem needs to be initialized before static protocols 95 /* The prefs subsystem needs to be initialized before static protocols
89 * for protocol prefs to work. */ 96 * for protocol prefs to work. */
90 gaim_prefs_init(); 97 gaim_prefs_init();