From ecb5d187aec965f0fc021002dbf2afab22d300e8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Oct 2012 15:27:48 +0000 Subject: merge of C++ API changes git-svn-id: http://svn.miranda-ng.org/main/trunk@1805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_protocols.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/delphi/m_protocols.inc') diff --git a/include/delphi/m_protocols.inc b/include/delphi/m_protocols.inc index 426268744c..26137e8a8c 100644 --- a/include/delphi/m_protocols.inc +++ b/include/delphi/m_protocols.inc @@ -149,7 +149,7 @@ type program's lifetime. Do not use this list in the global context, copy protocols names otherwise. IMPORTANT NOTE #2: in version 0.8 this service is mapped to the MS_PROTO_ENUMACCOUNTS - service to provide the compatibility with old plugins (first three members of + service to provide the compatibility with old plugins (first three members of PROTOACCOUNT are equal to the old PROTOCOLDESCRIPTOR format). If you declare the MIRANDA_VER macro with value greater or equal to 0x800, use MS_PROTO_ENUMPROTOS service instead to obtain the list of running protocols instead of accounts. @@ -252,14 +252,13 @@ const lParam=(LPARAM)(int)typing state } ME_PROTO_CONTACTISTYPING:PAnsiChar = 'Proto/ContactIsTypingEvent'; -// -------------- accounts support --------------------- 0.8.0+ +// -------------- accounts support --------------------- 0.8.0+ type PPROTOACCOUNT = ^TPROTOACCOUNT; TPROTOACCOUNT = record cbSize :int; // sizeof this structure szModuleName :PAnsiChar; // unique physical account name (matches database module name) - _type :int; // always equal to PROTOTYPE_PROTOCOL tszAccountName :TChar; // user-defined account name szProtoName :PAnsiChar; // physical protocol name bIsEnabled :int; // is account enabled? -- cgit v1.2.3