summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-15 09:15:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-15 09:15:41 +0000
commite624b1dcc719be421ed8530885ca1b259fe59fdf (patch)
treec394f1acd8a324a16523620304bd2b8d8fafd0a6 /include
parent4ce98069fa28c62534c1c86f00b644fc29f7026d (diff)
PROTOACCOUNT::bIsVirtual - new flag to mark virtual protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@8609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_protocols.inc16
-rw-r--r--include/m_protocols.h16
2 files changed, 18 insertions, 14 deletions
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;