summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-24 18:51:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-24 18:51:51 +0000
commit2f1b8c756066316c59be907bcd94a73cae5e3a7b (patch)
tree1c43a7e356602938748aa9f09ebbc7a187ae280b /include/delphi
parenta3e37eef935765e0a53b1e84d2e3b22f9e475637 (diff)
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
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_core.inc5
-rw-r--r--include/delphi/m_protoint.inc1
2 files changed, 6 insertions, 0 deletions
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