summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/importtxt.dpr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ImportTXT/importtxt.dpr')
-rw-r--r--plugins/ImportTXT/importtxt.dpr31
1 files changed, 0 insertions, 31 deletions
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