From eedb920807a5917ca63c6c8dd7c78e6e4bf2754e Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Wed, 5 Mar 2008 20:07:29 +0100 Subject: 0.9.24.beta22, %timer.modreason%, no mail when only eventid has changed --- mail.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mail.h') 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(); }; -- cgit v1.2.3