. . "So it is not essential to add++ * any path here, but it might be desired, especially for ui-specific plugins. */++ purple_plugins_add_search_path(CUSTOM_PLUGIN_PATH);++++ purple_eventloop_set_ui_ops(&adapterEventLoopUIOps);++++ // TODO - there is a memory leak in here...at least on desktop++ if (!purple_core_init(UI_ID))++ {++ MojLogInfo(IMServiceApp::s_log, _T(libpurple initialization failed.))" . .