summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-01 14:16:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-01 14:16:46 +0000
commit2e5502b7b902fad22773937890654791bdf1e1ad (patch)
treedee2d9dc5cda3aa6547bd7b8fde9ed3b547d0c35 /plugins/TabSRMM/src/sendqueue.h
parent6cd67368926784c3ca831517916b96c8799750a6 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11200 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.h')
-rw-r--r--plugins/TabSRMM/src/sendqueue.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.h b/plugins/TabSRMM/src/sendqueue.h
index d3d51a0e7d..05a037968f 100644
--- a/plugins/TabSRMM/src/sendqueue.h
+++ b/plugins/TabSRMM/src/sendqueue.h
@@ -42,7 +42,7 @@ struct SendJob
{
HANDLE hSendId;
char *szSendBuffer;
- int iSendLength; // length of message in utf-8 octets (used to check maxlen)
+ size_t iSendLength; // length of message in utf-8 octets (used to check maxlen)
int sendCount;
MCONTACT hContact;
HWND hOwnerWnd;
@@ -81,18 +81,18 @@ public:
SendJob *getJobByIndex(const int index) { return(&m_jobs[index]); }
- void clearJob(const int index);
- int findNextFailed(const TWindowData *dat) const;
- void handleError(TWindowData *dat, const int iEntry) const;
- int addTo(TWindowData *dat, const int iLen, int dwFlags);
- int sendQueued(TWindowData *dat, const int iEntry);
- int getSendLength(const int iEntry, const int sendMode);
- void checkQueue(const TWindowData *dat) const;
- void logError(const TWindowData *dat, int iSendJobIndex, const TCHAR *szErrMsg) const;
- void recallFailed(const TWindowData *dat, int iEntry) const;
- void showErrorControls(TWindowData *dat, const int showCmd) const;
- int ackMessage(TWindowData *dat, WPARAM wParam, LPARAM lParam);
- int doSendLater(int iIndex, TWindowData *dat, MCONTACT hContact = 0, bool fIsSendLater = true);
+ void clearJob(const int index);
+ int findNextFailed(const TWindowData *dat) const;
+ void handleError(TWindowData *dat, const int iEntry) const;
+ int addTo(TWindowData *dat, size_t iLen, int dwFlags);
+ int sendQueued(TWindowData *dat, const int iEntry);
+ size_t getSendLength(const int iEntry, const int sendMode);
+ void checkQueue(const TWindowData *dat) const;
+ void logError(const TWindowData *dat, int iSendJobIndex, const TCHAR *szErrMsg) const;
+ void recallFailed(const TWindowData *dat, int iEntry) const;
+ void showErrorControls(TWindowData *dat, const int showCmd) const;
+ int ackMessage(TWindowData *dat, WPARAM wParam, LPARAM lParam);
+ int doSendLater(int iIndex, TWindowData *dat, MCONTACT hContact = 0, bool fIsSendLater = true);
/*
* static members
*/
@@ -104,8 +104,8 @@ public:
static void TSAPI EnableSending(const TWindowData *dat, const int iMode);
private:
- SendJob m_jobs[NR_SENDJOBS];
- int m_currentIndex;
+ SendJob m_jobs[NR_SENDJOBS];
+ int m_currentIndex;
};
extern SendQueue *sendQueue;