diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-19 13:19:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-19 13:19:40 +0000 |
commit | e4a8fd6f323b262018bae68bfe87da65cf2092c0 (patch) | |
tree | 6fbc3bcfd9bec6c9b0d80fbf99a3a312896a0a24 /include/delphi | |
parent | e1d41f2f0796cae67948450c3ec6e342b46c1a0b (diff) |
db_mc_tryMeta - returns parent hContact for a subcontact or hContact itself if it's not a sub
git-svn-id: http://svn.miranda-ng.org/main/trunk@9859 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi')
-rw-r--r-- | include/delphi/m_metacontacts.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/delphi/m_metacontacts.inc b/include/delphi/m_metacontacts.inc index ece131c1a6..46becec44c 100644 --- a/include/delphi/m_metacontacts.inc +++ b/include/delphi/m_metacontacts.inc @@ -94,6 +94,10 @@ function db_mc_getDefaultNum(hContact:TMCONTACT):int; stdcall; function db_mc_getMeta(hContact:TMCONTACT):TMCONTACT; stdcall;
external CoreDLL name 'db_mc_getMeta';
+{ returns a meta contact for a subcontact or hContact itself otherwise }
+function db_mc_tryMeta(hContact:TMCONTACT):TMCONTACT; stdcall;
+ external CoreDLL name 'db_mc_tryMeta';
+
{ returns a subcontact with the given index or 0 }
function db_mc_getSub(hContact:TMCONTACT; idx:int):TMCONTACT; stdcall;
external CoreDLL name 'db_mc_getSub';
|