From 581204a18bc5a50d1c8a7412e147e560503d11b8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 May 2014 15:31:28 +0000 Subject: db_mc_getMostOnline - a handy helper for MS_MC_GETMOSTONLINECONTACT git-svn-id: http://svn.miranda-ng.org/main/trunk@9372 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_metacontacts.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/m_metacontacts.h b/include/m_metacontacts.h index 9be9c6819a..3b9ba43d14 100644 --- a/include/m_metacontacts.h +++ b/include/m_metacontacts.h @@ -70,6 +70,10 @@ extern "C" { #endif +MCONTACT __forceinline db_mc_getMostOnline(MCONTACT hContact) +{ return CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0); +} + // checks whether metacontacts are enabled MIR_CORE_DLL(BOOL) db_mc_isEnabled(void); MIR_CORE_DLL(void) db_mc_enable(BOOL); -- cgit v1.2.3