summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_api.pas1
-rw-r--r--include/delphi/m_pluginupdater.inc73
-rw-r--r--include/m_pluginupdater.h70
3 files changed, 0 insertions, 144 deletions
diff --git a/include/delphi/m_api.pas b/include/delphi/m_api.pas
index 4194a23e96..3b0c5a90f8 100644
--- a/include/delphi/m_api.pas
+++ b/include/delphi/m_api.pas
@@ -231,7 +231,6 @@ var
{$include m_metacontacts.inc}
{$include m_netlib.inc}
{$include m_options.inc}
- {$include m_pluginupdater.inc}
{$include m_popup.inc}
{$include m_protomod.inc}
{$include m_skin.inc}
diff --git a/include/delphi/m_pluginupdater.inc b/include/delphi/m_pluginupdater.inc
deleted file mode 100644
index 25cf3648cd..0000000000
--- a/include/delphi/m_pluginupdater.inc
+++ /dev/null
@@ -1,73 +0,0 @@
-{
-Miranda NG: the free IM client for Microsoft* Windows*
-
-Copyright 2012 Miranda NG team,
-all portions of this codebase are copyrighted to the people
-listed in contributors.txt.
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-}
-
-
-{$IFNDEF M_PLUGINUPDATER}
-{$DEFINE M_PLUGINUPDATER}
-
-type
- PPUHashItem = ^TPUHashItem;
- TPUHashItem = record
- fileName :PWideChar; // file name
- fileCrc :dword; // zip's crc
- hash :array [0..32] of char; // file's md5 hash
- selected :byte;
- end;
-
-const
-{
- Parses hashes.zip file at the specified URL and fills the base url buffer.
- later a plugin can use it to address files. %platform% macro is allowed,
- it expands to 32 or 64 depending on a Miranda's platform. For example,
- https://miranda-ng.org/distr/stable/x%platform%
-
- wParam = (PWideChar)ptszUrl = url of hashes.zip
- lParam = (array [1..260] of PWideChar)ptszBaseUrl = decoded base url
- return = (THANDLE)array of hash items or NULL on error
-}
- MS_PU_PARSEHASHES = 'PluginUpdater/ParseHashes';
-
-{
- Frees the hashes handle
- wParam = 0 (unused)
- lParam = (THANDLE) handle, returned from MS_PU_PARSEHASHES
- return = always returs 0
-}
- MS_PU_FREEHASHES = 'PluginUpdater/FreeHashes';
-
-{
- Gets number of hashes
- wParam = 0 (unused)
- lParam = (THANDLE) handle, returned from MS_PU_PARSEHASHES
- return = (int)number of hashes in an object
-}
- MS_PU_GETHASHCOUNT = 'PluginUpdater/GetHashCount';
-
-{
- Gets concrete hash by index
- wParam = (int)zero-based index (0..MS_PU_GETHASHCOUNT-1)
- lParam = (THANDLE) handle, returned from MS_PU_PARSEHASHES
- return = (PU_HASH_ITEM*)pointer to a hash structure
-}
- MS_PU_GETNTHHASH = 'PluginUpdater/GetNthCount';
-
-{$ENDIF}
diff --git a/include/m_pluginupdater.h b/include/m_pluginupdater.h
deleted file mode 100644
index f4e2e47f4a..0000000000
--- a/include/m_pluginupdater.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
-
-Miranda NG: the free IM client for Microsoft* Windows*
-
-Copyright (C) 2012-20 Miranda NG team (https://miranda-ng.org)
-all portions of this codebase are copyrighted to the people
-listed in contributors.txt.
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-*/
-
-
-#ifndef M_PLUGINUPDATER_H__
-#define M_PLUGINUPDATER_H__ 1
-
-typedef struct {
- wchar_t *m_fileName;
- DWORD m_zipCrc;
- char m_hash[32+1];
-}
- PU_HASH_ITEM;
-
-//Parses hashes.zip file at the specified URL and fills the base url buffer.
-//later a plugin can use it to address files. %platform% macro is allowed,
-//it expands to 32 or 64 depending on a Miranda's platform. For example,
-// https://miranda-ng.org/distr/stable/x%platform%
-//
-//wParam = (wchar_t*)ptszUrl = url of hashes.zip
-//lParam = (wchar_t[260])ptszBaseUrl = decoded base url
-//return = (HANDLE)array of hash items or NULL on error
-
-#define MS_PU_PARSEHASHES "PluginUpdater/ParseHashes"
-
-//Frees the hashes handle
-//wParam = 0 (unused)
-//lParam = (HANDLE) handle, returned from MS_PU_PARSEHASHES
-//return = always returs 0
-
-#define MS_PU_FREEHASHES "PluginUpdater/FreeHashes"
-
-//Gets number of hashes
-//wParam = 0 (unused)
-//lParam = (HANDLE) handle, returned from MS_PU_PARSEHASHES
-//return = (int)number of hashes in an object
-
-#define MS_PU_GETHASHCOUNT "PluginUpdater/GetHashCount"
-
-//Gets concrete hash by index
-//wParam = (int)zero-based index (0..MS_PU_GETHASHCOUNT-1)
-//lParam = (HANDLE) handle, returned from MS_PU_PARSEHASHES
-//return = (PU_HASH_ITEM*)pointer to a hash structure
-
-#define MS_PU_GETNTHHASH "PluginUpdater/GetNthCount"
-
-
-#define MS_PU_SHOWLIST "PluginUpdater/ShowList"
-#define MS_PU_CHECKUPDATES "PluginUpdater/CheckUpdates"
-#endif // M_PLUGINUPDATER_H__