From e58823d961a630eb62e60d2ccb443761ba5f1704 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Jun 2012 15:51:34 +0000 Subject: - all MS_CLIST_ADD*ITEM services replaced with Menu_Add*Item stubs. - massive cleanup of the menu-related code git-svn-id: http://svn.miranda-ng.org/main/trunk@410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_protocols.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/m_protocols.h') diff --git a/include/m_protocols.h b/include/m_protocols.h index 887ab4e1e4..8ee54722c2 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -98,7 +98,7 @@ typedef struct { // long to be delivered". If no error message is specified, lParam must be NULL. // Right now only explanations from ACKTYPE_MESSAGE is shown. -//when type==ACKTYPE_FILE && (result==ACKRESULT_DATA || result==ACKRESULT_FILERESUME), +//when type == ACKTYPE_FILE && (result == ACKRESULT_DATA || result == ACKRESULT_FILERESUME), //lParam points to this #define FNAMECHAR TCHAR @@ -114,7 +114,7 @@ typedef struct { #define PFTS_TCHAR 0 #endif -typedef struct tagPROTOFILETRANSFERSTATUS +typedef struct tagPROTOFILETRANSFERSTATUS { size_t cbSize; HANDLE hContact; @@ -146,7 +146,7 @@ typedef struct tagPROTOFILETRANSFERSTATUS unsigned __int64 currentFileSize; unsigned __int64 currentFileProgress; unsigned __int64 currentFileTime; //as seconds since 1970 -} +} PROTOFILETRANSFERSTATUS; //Enumerate the currently running protocols @@ -161,7 +161,7 @@ PROTOFILETRANSFERSTATUS; //program's lifetime. Do not use this list in the global context, copy protocols //names otherwise. //IMPORTANT NOTE #2: in version 0.8 this service is mapped to the MS_PROTO_ENUMACCOUNTS -//service to provide the compatibility with old plugins (first three members of +//service to provide the compatibility with old plugins (first three members of //PROTOACCOUNT are equal to the old PROTOCOLDESCRIPTOR format). If you declare the //MIRANDA_VER macro with value greater or equal to 0x800, use MS_PROTO_ENUMPROTOS //service instead to obtain the list of running protocols instead of accounts. @@ -267,7 +267,7 @@ typedef struct { //lParam=(LPARAM)(int)typing state #define ME_PROTO_CONTACTISTYPING "Proto/ContactIsTypingEvent" -// -------------- accounts support --------------------- 0.8.0+ +// -------------- accounts support --------------------- 0.8.0+ typedef struct tagACCOUNT { @@ -323,7 +323,7 @@ __inline static PROTOACCOUNT* ProtoGetAccount( const char* accName ) //displays the Account Manager //wParam=0 //lParam=0 -#define MS_PROTO_SHOWACCMGR "Protos/ShowAccountManager" +#define MS_PROTO_SHOWACCMGR "Protos/ShowAccountManager" //determines if an account is enabled or not //wParam = 0 -- cgit v1.2.3