summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-07 14:32:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-07 14:32:51 +0300
commit2c89ab98b84a92c0386700d6911be46ad18edc50 (patch)
treec10a72e0578510d97d9e58b1efcaab8f8076197d /include
parent609c3041668b36bc6abfa9511aa4e197bf0060ff (diff)
finally that perversion with double protocol caching in clist died
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clistint.inc2
-rw-r--r--include/m_clistint.h10
2 files changed, 1 insertions, 11 deletions
diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc
index ea5c91dcbc..724ad30bf7 100644
--- a/include/delphi/m_clistint.inc
+++ b/include/delphi/m_clistint.inc
@@ -292,8 +292,6 @@ type
hwndStatus : HWND;
hMenuMain : HMENU;
hInst : HMODULE;
- hClcProtoCount : int;
- clcProto : PClcProtoStatus;
(* clc.h *)
pfnContactListControlWndProc : function(hwnd:HWND; msg:uint; wParam:WPARAM; lParam:LPARAM):LRESULT; stdcall;
diff --git a/include/m_clistint.h b/include/m_clistint.h
index d0aeabd3d9..594fa70546 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -192,6 +192,7 @@ struct MenuProto
ptrA szProto;
HGENMENU pMenu;
HICON hIcon;
+ int iStatus;
};
/////////////////////////////////////////////////////////////////////////////////////////
@@ -295,12 +296,6 @@ EXTERN_C MIR_APP_DLL(int) Clist_GetAccountIndex(int iPos);
/////////////////////////////////////////////////////////////////////////////////////////
// CLIST_INTERFACE structure definition
-struct ClcProtoStatus
-{
- char *szProto;
- DWORD dwStatus;
-};
-
struct ClcCacheEntryBase
{
MCONTACT hContact;
@@ -316,9 +311,6 @@ struct CLIST_INTERFACE
HMENU hMenuMain;
HMODULE hInst;
- int hClcProtoCount;
- ClcProtoStatus *clcProto;
-
// clc.h
LRESULT (CALLBACK *pfnContactListControlWndProc)(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);