From 60df08c2f6194702ec180c2d2adf20d3675edae1 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Sat, 14 Jul 2012 19:29:11 +0000 Subject: API update Updater support removed History++ toolbar button fix git-svn-id: http://svn.miranda-ng.org/main/trunk@974 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ImportTXT/importtxt.dpr | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'plugins/ImportTXT') diff --git a/plugins/ImportTXT/importtxt.dpr b/plugins/ImportTXT/importtxt.dpr index 5cc6d12864..43d4b560e0 100644 --- a/plugins/ImportTXT/importtxt.dpr +++ b/plugins/ImportTXT/importtxt.dpr @@ -44,15 +44,6 @@ uses const MIID_IMPORTTEXT:TGUID = '{6F376B33-D3F4-4c4f-A96B-77DA08043B06}'; -// Updater compatibility data -const - VersionURL = 'http://abyss.web.ur.ru/itxt_ver.htm'; - VersionPrefix = 'Current version: '; - UpdateURL = 'http://abyss.web.ur.ru/importtxt.zip'; - BetaVersionURL = nil; - BetaVersionPrefix = nil; - BetaUpdateURL = nil; - BetaChangelogURL = nil; var hwndWizard:HWND; @@ -113,32 +104,10 @@ begin end; function OnModulesLoaded(wParam: wParam; lParam: lParam): int; cdecl; -var - upd: TUpdate; - buf: array [0 .. 63] of char; begin UnhookEvent(onLoadHook); result := 0; EnumProtocols; - // Register in updater - if Boolean(ServiceExists(MS_UPDATE_REGISTER)) then - begin - ZeroMemory(@upd, sizeof(upd)); - upd.cpbVersion := sizeof(upd); - upd.szComponentName := PluginInfo.shortName;; - upd.pbVersion := CreateVersionStringPlugin(@PluginInfo, @buf); - upd.cpbVersion := lstrlena(upd.pbVersion); - upd.szUpdateURL := UpdateURL; - upd.szVersionURL := VersionURL; - upd.pbVersionPrefix := VersionPrefix; - upd.cpbVersionPrefix := Length(VersionPrefix); - upd.szBetaUpdateURL := BetaUpdateURL; - upd.szBetaVersionURL := BetaVersionURL; - upd.pbBetaVersionPrefix := BetaVersionPrefix; - upd.cpbBetaVersionPrefix := Length(upd.pbBetaVersionPrefix); - upd.szBetaChangelogURL := BetaChangelogURL; - CallService(MS_UPDATE_REGISTER, 0, tlparam(@upd)); - end; // check for AutoStart if (DBReadByte(0, IMPORT_TXT_MODULE, IMPORT_TXT_AS) = 1) and (ProtoCount > 0) then begin -- cgit v1.2.3