summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-20 19:53:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-20 19:53:51 +0300
commit542182c9d353cba717ce7183690abc6476b3f448 (patch)
treeccfce2f70951e15eebee3003e792798950da6790 /include/delphi
parent1c39cba6fea51df470809b5a3d28e3cd3836391d (diff)
Pascal: fix for missing service call
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_skin.inc19
1 files changed, 3 insertions, 16 deletions
diff --git a/include/delphi/m_skin.inc b/include/delphi/m_skin.inc
index 862b309305..5e9968c62d 100644
--- a/include/delphi/m_skin.inc
+++ b/include/delphi/m_skin.inc
@@ -89,11 +89,9 @@ const
SKINICON_AUTH_GRANT = 249;
SKINICON_AUTH_REVOKE = 250;
-function Skin_LoadIcon(iconId:int; big:byte) : HICON; stdcall;
- external AppDLL name 'Skin_LoadIcon';
+function Skin_LoadIcon(iconId:int; big:byte) : HICON; stdcall; external AppDLL;
-function Skin_GetIconHandle(iconId:int) : THANDLE; stdcall;
- external AppDLL name 'Skin_GetIconHandle';
+function Skin_GetIconHandle(iconId:int) : THANDLE; stdcall; external AppDLL;
// status mode icons. NOTE: These are deprecated in favour of LoadSkinnedProtoIcon()
const
@@ -106,17 +104,6 @@ const
SKINICON_STATUS_FREE4CHAT = 6;
SKINICON_STATUS_INVISIBLE = 7;
-function Skin_LoadProtoIcon(protoName:PAnsiChar; iconId:int; big:byte) : HICON; stdcall;
- external AppDLL name 'Skin_LoadProtoIcon';
-
-const
- {
- Affect : Load an icon from the user's custom skin lib, or from the exe
- if there isn't one loaded, see notes
- Return : HICON for the new icon, do *not* DestroyIcon() the return value
- returns NULL(0) if ICON_ID is invalid, but always success for a valid ID.
- }
- MS_SKIN_LOADICON:PAnsiChar = 'Skin/Icons/Load';
-
+function Skin_LoadProtoIcon(protoName:PAnsiChar; iconId:int; big:byte) : HICON; stdcall; external AppDLL;
{$ENDIF}