summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-28 22:50:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-28 22:50:58 +0300
commit76cbb63e192079281d7c4b51ed8318b245b6b39b (patch)
treefbc2a8aa23005e9327d3b14d2420b60b6544fd31 /plugins/TabSRMM/src/sendqueue.h
parente0b470b5a7e9b11299fdf0567317d59a104c50cf (diff)
TabSrmm -> UI classes
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.h')
-rw-r--r--plugins/TabSRMM/src/sendqueue.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.h b/plugins/TabSRMM/src/sendqueue.h
index 48be92645e..db914f214c 100644
--- a/plugins/TabSRMM/src/sendqueue.h
+++ b/plugins/TabSRMM/src/sendqueue.h
@@ -85,26 +85,26 @@ 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, size_t iLen, int dwFlags);
- int sendQueued(TWindowData *dat, const int iEntry);
+ int findNextFailed(const CSrmmWindow *dat) const;
+ void handleError(CSrmmWindow *dat, const int iEntry) const;
+ int addTo(CSrmmWindow *dat, size_t iLen, int dwFlags);
+ int sendQueued(CSrmmWindow *dat, const int iEntry);
size_t getSendLength(const int iEntry);
- void checkQueue(const TWindowData *dat) const;
- void logError(const TWindowData *dat, int iSendJobIndex, const wchar_t *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 checkQueue(const CSrmmWindow *dat) const;
+ void logError(CSrmmWindow *dat, int iSendJobIndex, const wchar_t *szErrMsg) const;
+ void recallFailed(const CSrmmWindow *dat, int iEntry) const;
+ void showErrorControls(CSrmmWindow *dat, const int showCmd) const;
+ int ackMessage(CSrmmWindow *dat, WPARAM wParam, LPARAM lParam);
+ int doSendLater(int iIndex, CSrmmWindow *dat, MCONTACT hContact = 0, bool fIsSendLater = true);
/*
* static members
*/
static int TSAPI RTL_Detect(const wchar_t *pszwText);
static int TSAPI GetProtoIconFromList(const char *szProto, int iStatus);
static LRESULT TSAPI WarnPendingJobs(unsigned int uNrMessages);
- static void TSAPI NotifyDeliveryFailure(const TWindowData *dat);
- static void TSAPI UpdateSaveAndSendButton(TWindowData *dat);
- static void TSAPI EnableSending(const TWindowData *dat, const int iMode);
+ static void TSAPI NotifyDeliveryFailure(const CSrmmWindow *dat);
+ static void TSAPI UpdateSaveAndSendButton(CSrmmWindow *dat);
+ static void TSAPI EnableSending(const CSrmmWindow *dat, bool bMode);
private:
SendJob m_jobs[NR_SENDJOBS];
@@ -115,6 +115,6 @@ extern SendQueue *sendQueue;
int TSAPI ActivateExistingTab(TContainerData *pContainer, HWND hwndChild);
void TSAPI ShowMultipleControls(const HWND hwndDlg, const UINT * controls, int cControls, int state);
-void TSAPI HandleIconFeedback(TWindowData *dat, HICON iIcon);
+void TSAPI HandleIconFeedback(CTabBaseDlg *dat, HICON iIcon);
#endif /* __SENDQUEUE_H */