summaryrefslogtreecommitdiff
path: root/mail.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail.h')
-rw-r--r--mail.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail.h b/mail.h
index 80b5ae1..087c1fa 100644
--- a/mail.h
+++ b/mail.h
@@ -61,12 +61,13 @@ class cMailTimerNotification
{
tEventID eventID;
tChannelID channelID;
+ uint timerMod;
const cEvent* GetEvent() const;
public:
- cMailTimerNotification(tEventID EventID, tChannelID ChannelID)
- : eventID(EventID), channelID(ChannelID) {}
+ cMailTimerNotification(tEventID EventID, tChannelID ChannelID, uint TimerMod = tmNoChange)
+ : eventID(EventID), channelID(ChannelID), timerMod(TimerMod) {}
bool operator< (const cMailTimerNotification &N) const;
string Format(const string& templ) const;
};
@@ -92,7 +93,7 @@ class cMailUpdateNotifier : public cMailNotifier
public:
cMailUpdateNotifier();
void AddNewTimerNotification(tEventID EventID, tChannelID ChannelID);
- void AddModTimerNotification(tEventID EventID, tChannelID ChannelID);
+ void AddModTimerNotification(tEventID EventID, tChannelID ChannelID, uint timerMod = tmNoChange);
void AddRemoveTimerNotification(cTimer* t, const cEvent* e = NULL);
void SendUpdateNotifications();
};