summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/tipper.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 21:37:56 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 21:37:56 +0000
commit92a701741ab376c6bd8ac20f832f55e55324abdc (patch)
treeaae30addc202f556781d3c86706a1fdef4fa953b /plugins/TipperYM/tipper.cpp
parent9f1350bd4fb0df56a4115e80343285eef8acb954 (diff)
Updater removal - stage 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@956 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/tipper.cpp')
-rw-r--r--plugins/TipperYM/tipper.cpp26
1 files changed, 1 insertions, 25 deletions
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);