From 3d3a8bb209b190732f8530f3dc5b2baa46d3078e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 19 Mar 2014 18:42:19 +0000 Subject: fix against recursions in clists git-svn-id: http://svn.miranda-ng.org/main/trunk@8664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_clistint.inc | 6 ++++-- include/m_clistint.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc index 71e22c8273..cac3aa3c3d 100644 --- a/include/delphi/m_clistint.inc +++ b/include/delphi/m_clistint.inc @@ -487,6 +487,7 @@ type currentStatusMenuItem : int; currentDesiredStatusMode : int; bDisplayLocked : bool; + bAutoRebuild : bool; pfnGetProtocolMenu : function (_para1:PAnsiChar):HGENMENU; cdecl; pfnStub2 : function (_para1:int):int; cdecl; @@ -545,9 +546,10 @@ type * Miranda NG additions *************************************************************************************) - pfnGetContactIcon: function(hContact:TMCONTACT):int; cdecl; - pfnTrayCalcChanged:function(szChangedProto:PAnsiChar; averageMode:int; iProtoCount:int):int; cdecl; + pfnGetContactIcon: function(hContact:TMCONTACT):int; cdecl; + pfnTrayCalcChanged:function(szChangedProto:PAnsiChar; averageMode:int; iProtoCount:int):int; cdecl; pfnGetAverageMode:function(pNetProtoCount:pint):int; cdecl; + pfnInitAutoRebuild:procedure(hwnd:HWND); cdecl; end; { diff --git a/include/m_clistint.h b/include/m_clistint.h index 307d7fd0f2..3f754715bd 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -422,7 +422,7 @@ typedef struct HANDLE hPreBuildStatusMenuEvent; int currentStatusMenuItem, currentDesiredStatusMode; - BOOL bDisplayLocked; + BOOL bDisplayLocked, bAutoRebuild; HGENMENU (*pfnGetProtocolMenu)(const char*); int (*pfnStub2)(int); @@ -479,7 +479,7 @@ typedef struct int (*pfnGetContactIcon)(MCONTACT hContact); int (*pfnTrayCalcChanged)(const char *szChangedProto, int averageMode, int iProtoCount); int (*pfnGetAverageMode)(int *pNetProtoCount); - + void (*pfnInitAutoRebuild)(HWND hwnd); } CLIST_INTERFACE; -- cgit v1.2.3