diff options
author | Alexey Kulakov <panda75@bk.ru> | 2012-07-14 19:29:11 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2012-07-14 19:29:11 +0000 |
commit | 60df08c2f6194702ec180c2d2adf20d3675edae1 (patch) | |
tree | 0d729034d2acd48427ce7a935c1b37ce2cef5ea4 /plugins/ImportTXT | |
parent | e3ffab889d900847fa6fb9807bc5f818da28c358 (diff) |
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
Diffstat (limited to 'plugins/ImportTXT')
-rw-r--r-- | plugins/ImportTXT/importtxt.dpr | 31 |
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
|