summaryrefslogtreecommitdiff
path: root/include/m_protocols.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-23 18:31:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-23 18:31:16 +0000
commit139c2c1a61d9f765704a2001199c2712d6587fb4 (patch)
tree75ea26442808a6a2a51fb37cc27e6e8f1f1d1afe /include/m_protocols.h
parent42563b1b6cf473a4ba10a327ac79adfc66ec71ba (diff)
old C proto interface removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@3738 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r--include/m_protocols.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h
index 5c5e676539..483d581401 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -26,6 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef M_PROTOCOLS_H__
#define M_PROTOCOLS_H__ 1
+struct PROTO_INTERFACE;
+
#include "statusmodes.h"
//send a general request through the protocol chain for a contact
@@ -173,13 +175,13 @@ PROTOFILETRANSFERSTATUS;
#define PROTOCOLDESCRIPTOR_V3_SIZE (sizeof(size_t)+sizeof(INT_PTR)+sizeof(char*))
// initializes an empty account
-typedef struct tagPROTO_INTERFACE* (*pfnInitProto)(const char* szModuleName, const TCHAR* szUserName);
+typedef struct PROTO_INTERFACE* (*pfnInitProto)(const char* szModuleName, const TCHAR* szUserName);
// deallocates an account instance
-typedef int (*pfnUninitProto)(struct tagPROTO_INTERFACE*);
+typedef int (*pfnUninitProto)(PROTO_INTERFACE*);
// removes an account from the database
-typedef int (*pfnDestroyProto)(struct tagPROTO_INTERFACE*);
+typedef int (*pfnDestroyProto)(PROTO_INTERFACE*);
typedef struct {
size_t cbSize;
@@ -282,7 +284,7 @@ typedef struct tagACCOUNT
int bIsVisible; // is account visible?
int iOrder; // account order in various menus & lists
BOOL bOldProto; // old-styled account (one instance per dll)
- struct tagPROTO_INTERFACE* ppro; // pointer to the underlying object
+ PROTO_INTERFACE *ppro; // pointer to the underlying object
HWND hwndAccMgrUI;
BOOL bAccMgrUIChanged;