From 2f1b8c756066316c59be907bcd94a73cae5e3a7b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Mar 2015 18:51:51 +0000 Subject: UI Utils classes & templates moved to the core, thus allowing any plugin to use them git-svn-id: http://svn.miranda-ng.org/main/trunk@12492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_core.inc | 5 +++++ include/delphi/m_protoint.inc | 1 + 2 files changed, 6 insertions(+) (limited to 'include/delphi') diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index 8d770fe9b9..6e89a196e2 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -437,6 +437,11 @@ function ProtoServiceExists(const szModule, szName:PAnsiChar):int; stdcall; function ProtoCallService(const szModule, szName:PAnsiChar; wParam:WPARAM; lParam:LPARAM):int_ptr; stdcall; external CoreDLL name 'ProtoServiceExists'; +procedure ProtoWindowAdd(pThis:pointer; wnd:HWND); stdcall; + external CoreDLL name 'ProtoWindowAdd'; + +procedure ProtoWindowRemove(pThis:pointer; wnd:HWND); stdcall; + external CoreDLL name 'ProtoWindowRemove'; // Call it in the very beginning of your proto's constructor procedure ProtoConstructor(pThis:pointer{PPROTO_INTERFACE}; const pszModuleName:PAnsiChar; diff --git a/include/delphi/m_protoint.inc b/include/delphi/m_protoint.inc index 1c1fce8af1..716c52f85b 100644 --- a/include/delphi/m_protoint.inc +++ b/include/delphi/m_protoint.inc @@ -51,6 +51,7 @@ type szModuleName :PAnsiChar; hProtoIcon :THANDLE; hNetlibUser :THANDLE; + hWindowList :THANDLE; ////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////// // Virtual functions -- cgit v1.2.3