summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-19 18:42:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-19 18:42:19 +0000
commit3d3a8bb209b190732f8530f3dc5b2baa46d3078e (patch)
tree28afcae563cff29fdd686e1a4874bda0f6aee801 /include
parentd67f238b33aa9fae3e877dc579ac9260323219fe (diff)
fix against recursions in clists
git-svn-id: http://svn.miranda-ng.org/main/trunk@8664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clistint.inc6
-rw-r--r--include/m_clistint.h4
2 files changed, 6 insertions, 4 deletions
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;