From 92a701741ab376c6bd8ac20f832f55e55324abdc Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 13 Jul 2012 21:37:56 +0000 Subject: Updater removal - stage 1 git-svn-id: http://svn.miranda-ng.org/main/trunk@956 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/main.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'protocols/Omegle/main.cpp') diff --git a/protocols/Omegle/main.cpp b/protocols/Omegle/main.cpp index e34282c2cb..1e5686a316 100644 --- a/protocols/Omegle/main.cpp +++ b/protocols/Omegle/main.cpp @@ -91,32 +91,6 @@ static int protoUninit(PROTO_INTERFACE* proto) return EXIT_SUCCESS; } -int OnModulesLoaded(WPARAM,LPARAM) -{ - if ( ServiceExists( MS_UPDATE_REGISTER )) - { - Update upd = {sizeof(upd)}; - char curr_version[30]; - - upd.szComponentName = pluginInfo.shortName; - upd.szUpdateURL = UPDATER_AUTOREGISTER; - upd.szBetaVersionURL = "http://robyer.info/miranda/omegle/version.html"; - upd.szBetaChangelogURL = "http://robyer.info/miranda/omegle/changelog.html"; - upd.pbBetaVersionPrefix = reinterpret_cast("Omegle "); - upd.cpbBetaVersionPrefix = (int)strlen(reinterpret_cast(upd.pbBetaVersionPrefix)); - #ifdef _WIN64 - upd.szBetaUpdateURL = "http://robyer.info/stahni/omegle_x64.zip"; - #else - upd.szBetaUpdateURL = "http://robyer.info/stahni/omegle.zip"; - #endif - upd.pbVersion = reinterpret_cast(CreateVersionStringPluginEx(&pluginInfo,curr_version)); - upd.cpbVersion = (int)strlen(reinterpret_cast(upd.pbVersion)); - CallService(MS_UPDATE_REGISTER,0,(LPARAM)&upd); - } - - return 0; -} - static HANDLE g_hEvents[1]; extern "C" int __declspec(dllexport) Load(void) @@ -135,8 +109,6 @@ extern "C" int __declspec(dllexport) Load(void) pd.fnUninit = protoUninit; CallService(MS_PROTO_REGISTERMODULE,0,reinterpret_cast(&pd)); - g_hEvents[0] = HookEvent(ME_SYSTEM_MODULESLOADED,OnModulesLoaded); - InitIcons(); //InitContactMenus(); -- cgit v1.2.3