From e624b1dcc719be421ed8530885ca1b259fe59fdf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 15 Mar 2014 09:15:41 +0000 Subject: PROTOACCOUNT::bIsVirtual - new flag to mark virtual protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@8609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_protocols.inc | 16 +++++++++------- include/m_protocols.h | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) (limited to 'include') diff --git a/include/delphi/m_protocols.inc b/include/delphi/m_protocols.inc index b247c1ebcf..a361b98389 100644 --- a/include/delphi/m_protocols.inc +++ b/include/delphi/m_protocols.inc @@ -261,15 +261,17 @@ type szModuleName :PAnsiChar; // unique physical account name (matches database module name) tszAccountName :TChar; // user-defined account name szProtoName :PAnsiChar; // physical protocol name - bIsEnabled :int; // is account enabled? - bIsVisible :int; // is account visible? - iOrder :int; // account order in various menus & lists - bOldProto :bool; // old-styled account (one instance per dll) - ppro :PPROTO_INTERFACE; // pointer to the underlying object + bIsEnabled :byte; // is account enabled? + bIsVisible :byte; // is account visible? + bIsVirtual :byte; // is account virtual? + bOldProto :byte; // old-styled account (one instance per dll) + bDynDisabled :byte; // dynamic disable flag, is never written to db + bAccMgrUIChanged:byte; hwndAccMgrUI :HWND; - bAccMgrUIChanged:bool; - bDynDisabled :bool; // dynamic disable flag, is never written to db + + iOrder :int; // account order in various menus & lists + ppro :PPROTO_INTERFACE; // pointer to the underlying object end; tagACCOUNT = TPROTOACCOUNT; diff --git a/include/m_protocols.h b/include/m_protocols.h index 67ffd950ff..0897e0e199 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -281,15 +281,17 @@ typedef struct tagACCOUNT char* szModuleName; // unique physical account name (matches database module name) TCHAR* tszAccountName; // user-defined account name char* szProtoName; // physical protocol name - int bIsEnabled; // is account enabled? - int bIsVisible; // is account visible? - int iOrder; // account order in various menus & lists - BOOL bOldProto; // old-styled account (one instance per dll) - PROTO_INTERFACE *ppro; // pointer to the underlying object + bool bIsEnabled; // is account enabled? + bool bIsVisible; // is account visible? + bool bIsVirtual; // is account virtual? + bool bOldProto; // old-styled account (one instance per dll) + bool bDynDisabled; // dynamic disable flag, is never written to db + bool bAccMgrUIChanged; HWND hwndAccMgrUI; - BOOL bAccMgrUIChanged; - BOOL bDynDisabled; // dynamic disable flag, is never written to db + + int iOrder; // account order in various menus & lists + PROTO_INTERFACE *ppro; // pointer to the underlying object } PROTOACCOUNT; -- cgit v1.2.3