summaryrefslogtreecommitdiff
path: root/include/m_protoint.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-07 17:08:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-07 17:08:24 +0300
commitc970f5a11e85c4efe5a27783c7c8d994c55daf8b (patch)
treefa8c6aa5c7de40f9066ea022bb136e96e262daae /include/m_protoint.h
parentb13f39a263e1969ec35006daf8f1f5cb4fb924b3 (diff)
fix for old PROTO_INTERFACE::FileResume interface error
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r--include/m_protoint.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index ce815c6e97..8be0fce7f4 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -195,43 +195,43 @@ public:
//////////////////////////////////////////////////////////////////////////////////////
// Virtual functions
- virtual MCONTACT AddToList(int flags, PROTOSEARCHRESULT* psr);
+ virtual MCONTACT AddToList(int flags, PROTOSEARCHRESULT *psr);
virtual MCONTACT AddToListByEvent(int flags, int iContact, MEVENT hDbEvent);
-
+
virtual int Authorize(MEVENT hDbEvent);
- virtual int AuthDeny(MEVENT hDbEvent, const wchar_t* szReason);
- virtual int AuthRecv(MCONTACT hContact, PROTORECVEVENT*);
- virtual int AuthRequest(MCONTACT hContact, const wchar_t* szMessage);
-
- virtual HANDLE FileAllow(MCONTACT hContact, HANDLE hTransfer, const wchar_t* szPath);
+ virtual int AuthDeny(MEVENT hDbEvent, const wchar_t *szReason);
+ virtual int AuthRecv(MCONTACT hContact, PROTORECVEVENT *);
+ virtual int AuthRequest(MCONTACT hContact, const wchar_t *szMessage);
+
+ virtual HANDLE FileAllow(MCONTACT hContact, HANDLE hTransfer, const wchar_t *szPath);
virtual int FileCancel(MCONTACT hContact, HANDLE hTransfer);
- virtual int FileDeny(MCONTACT hContact, HANDLE hTransfer, const wchar_t* szReason);
- virtual int FileResume(HANDLE hTransfer, int* action, const wchar_t** szFilename);
-
+ virtual int FileDeny(MCONTACT hContact, HANDLE hTransfer, const wchar_t *szReason);
+ virtual int FileResume(HANDLE hTransfer, int action, const wchar_t *szFilename);
+
virtual INT_PTR GetCaps(int type, MCONTACT hContact = NULL);
virtual int GetInfo(MCONTACT hContact, int infoType);
-
- virtual HANDLE SearchBasic(const wchar_t* id);
- virtual HANDLE SearchByEmail(const wchar_t* email);
- virtual HANDLE SearchByName(const wchar_t* nick, const wchar_t* firstName, const wchar_t* lastName);
+
+ virtual HANDLE SearchBasic(const wchar_t *id);
+ virtual HANDLE SearchByEmail(const wchar_t *email);
+ virtual HANDLE SearchByName(const wchar_t *nick, const wchar_t *firstName, const wchar_t *lastName);
virtual HWND SearchAdvanced(HWND owner);
virtual HWND CreateExtendedSearchUI(HWND owner);
-
- virtual int RecvContacts(MCONTACT hContact, PROTORECVEVENT*);
- virtual int RecvFile(MCONTACT hContact, PROTORECVFILE*);
- virtual MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*);
-
+
+ virtual int RecvContacts(MCONTACT hContact, PROTORECVEVENT *);
+ virtual int RecvFile(MCONTACT hContact, PROTORECVFILE *);
+ virtual MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT *);
+
virtual int SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList);
virtual HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles);
virtual int SendMsg(MCONTACT hContact, int flags, const char *msg);
-
+
virtual int SetApparentMode(MCONTACT hContact, int mode);
virtual int SetStatus(int iNewStatus);
-
+
virtual HANDLE GetAwayMsg(MCONTACT hContact);
- virtual int RecvAwayMsg(MCONTACT hContact, int mode, PROTORECVEVENT* evt);
- virtual int SetAwayMsg(int iStatus, const wchar_t* msg);
-
+ virtual int RecvAwayMsg(MCONTACT hContact, int mode, PROTORECVEVENT *evt);
+ virtual int SetAwayMsg(int iStatus, const wchar_t *msg);
+
virtual int UserIsTyping(MCONTACT hContact, int type);
//////////////////////////////////////////////////////////////////////////////////////