summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendlater.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-10 14:21:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-10 14:21:16 +0300
commit5bc2bc897dfbda7a8f97de58ded26da9aac34bd8 (patch)
treebc3d914104f80baa091545610c70989056d66bae /plugins/TabSRMM/src/sendlater.h
parent07db5e31cd87773df0eb037964fe9f1dcaf44ecb (diff)
tabSRMM: send later dialog -> UI classes
Diffstat (limited to 'plugins/TabSRMM/src/sendlater.h')
-rw-r--r--plugins/TabSRMM/src/sendlater.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/plugins/TabSRMM/src/sendlater.h b/plugins/TabSRMM/src/sendlater.h
index 0ea248579b..18e3d318f8 100644
--- a/plugins/TabSRMM/src/sendlater.h
+++ b/plugins/TabSRMM/src/sendlater.h
@@ -80,17 +80,11 @@ struct CSendLaterJob
class CSendLater
{
+ friend class CSendLaterDlg;
+
void processSingleContact(const MCONTACT hContact);
int sendIt(CSendLaterJob *job);
- INT_PTR CALLBACK DlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
- static INT_PTR CALLBACK DlgProcStub(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
-
- void qMgrFillList(bool fClear = true);
- void qMgrSetupColumns();
- void qMgrSaveColumns();
- LRESULT qMgrAddFilter(const MCONTACT hContact, const wchar_t *tszNick);
-
LIST<void> m_sendLaterContactList;
LIST<CSendLaterJob> m_sendLaterJobList;
@@ -100,11 +94,6 @@ class CSendLater
time_t m_last_sendlater_processed;
int m_currJob = -1;
- HWND m_hwndDlg = 0;
- HWND m_hwndList = 0, m_hwndFilter = 0;
- MCONTACT m_hFilter = 0; // contact handle to filter the qmgr list (0 = no filter, show all)
- LRESULT m_sel; // index of the combo box entry corresponding to the contact filter;
-
public:
enum {
SENDLATER_AGE_THRESHOLD = (86400 * 3), // 3 days, older messages will be removed from the db.