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 --- plugins/TipperYM/tipper.cpp | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'plugins/TipperYM') diff --git a/plugins/TipperYM/tipper.cpp b/plugins/TipperYM/tipper.cpp index 0547a1b32d..6f59232a92 100644 --- a/plugins/TipperYM/tipper.cpp +++ b/plugins/TipperYM/tipper.cpp @@ -258,34 +258,10 @@ void InitFonts() hReloadFonts = HookEvent(ME_FONT_RELOAD, ReloadFont); } -void InitUpdaterSupport() -{ -#ifndef _WIN64 - if (ServiceExists(MS_UPDATE_REGISTER)) - { - Update update = {0}; - char szVersion[16]; - - update.cbSize = sizeof(Update); - update.szComponentName = pluginInfoEx.shortName; - update.pbVersion = (BYTE *)CreateVersionString(pluginInfoEx.version, szVersion); - update.cpbVersion = (int)strlen((char *)update.pbVersion); - - update.szUpdateURL = "http://miranda-easy.net/addons/updater/tipper-ym.zip"; - - update.szVersionURL = "http://miranda-easy.net/addons/updater/tipper_version.txt"; - update.pbVersionPrefix = (BYTE *)"Tipper YM "; - update.cpbVersionPrefix = (int)strlen((char *)update.pbVersionPrefix); - CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update); - } -#endif -} - int ModulesLoaded(WPARAM wParam, LPARAM lParam) { InitFonts(); - InitUpdaterSupport(); - + hAvChangeEvent = HookEvent(ME_AV_AVATARCHANGED, AvatarChanged); hShowTipEvent = HookEvent(ME_CLC_SHOWINFOTIP, ShowTipHook); hHideTipEvent = HookEvent(ME_CLC_HIDEINFOTIP, HideTipHook); -- cgit v1.2.3