summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 14:40:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 14:40:29 +0300
commit226f2fceddb5b81d5ba7a16729b4f07e53cfafb4 (patch)
tree77d177e5517eb8267c2755b97f4fe9a3d37d1a37 /include/delphi
parent15c49e3fc4cf033fffbf79e9f68a0405d5a95d14 (diff)
obsolete services from m_ignore.h converted into functions
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_ignore.inc34
-rw-r--r--include/delphi/m_imgsrvc.inc2
2 files changed, 2 insertions, 34 deletions
diff --git a/include/delphi/m_ignore.inc b/include/delphi/m_ignore.inc
index 4007ac03a8..99a08ead4d 100644
--- a/include/delphi/m_ignore.inc
+++ b/include/delphi/m_ignore.inc
@@ -34,38 +34,6 @@ const
IGNOREEVENT_AUTHORIZATION = 4;
IGNOREEVENT_TYPINGNOTIFY = 5;
- {
- wParam : TMCONTACT
- lParam : IGNOREEVENT_*
- Affects: Determines if a message type to a contact should be ignored, see notes
- Returns: 0 if the message type MUST be shown [non zero] if it MUST be ignored
- Notes : TMCONTACT can be NULL(0) to see what to do with a contact
- that isn't on the list (or is unknown in some way)
- don't use the IGNOREEVENT_ALL type!
- Version: v0.1.0.1+
- }
- MS_IGNORE_ISIGNORED:PAnsiChar = 'Ignore/IsIgnored';
-
- {
- wParam : TMCONTACT
- lParam : IGNOREEVENT_* constant
- Affects: Ignore future messages from a contact, see notes
- Returns: 0 on success, [nonzero] on failure
- Notes : wParam: NULL(0) can be used to see if an unknown contact should be
- ignored or not - you can't SET unknown contact's ignore types, this
- is to stop a plugin allowing certain functions (I guess)
- Version: v0.1.0.1+
- }
- MS_IGNORE_IGNORE:PAnsiChar = 'Ignore/Ignore';
-
- {
- wParam : TMCONTACT
- lParam : IGNOREEVENT_*
- Affects: Receive future messages from a contact -- of the given type, see notes
- Returns: 0 on success, non zero on failure
- Notes : Use NULL(0) for TMCONTACT to retrieve the setting for an unknown contact
- Version: v0.1.0.1+
- }
- MS_IGNORE_UNIGNORE:PAnsiChar = 'Ignore/Unignore';
+function Ignore_Ignore(hContact:TMCONTACT; mask:integer) : integer; stdcall; external AppDll;
{$ENDIF}
diff --git a/include/delphi/m_imgsrvc.inc b/include/delphi/m_imgsrvc.inc
index ef770733f2..6e764af1e0 100644
--- a/include/delphi/m_imgsrvc.inc
+++ b/include/delphi/m_imgsrvc.inc
@@ -33,7 +33,7 @@ by the FreeImage project (http://freeimage.sourceforge.net)
{$IFNDEF M_IMGSRVC}
{$DEFINE M_IMGSRVC}
-
+const
IMGL_RETURNDIB = 1; // will NOT return a HBITMAP but a FIBITMAP * instead (useful,
// if you want to do further image manipulations before
// converting to a Win32 bitmap caller MUST then free the