diff options
author | Adam <Adam@anope.org> | 2012-11-22 00:50:33 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-22 00:50:33 -0500 |
commit | d33a0f75a5c0c584fbb7cc0076da36d494f39494 (patch) | |
tree | 7b2274cc833c793c0f5595660cbd4d715de52ffd /include/timers.h | |
parent | 368d469631763e9c8bf399980d0ac7c5b5664d39 (diff) |
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each
other
Diffstat (limited to 'include/timers.h')
-rw-r--r-- | include/timers.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/timers.h b/include/timers.h index d5fc66fb0..d2597178b 100644 --- a/include/timers.h +++ b/include/timers.h @@ -4,8 +4,10 @@ * Contact us at team@anope.org * * Please read COPYING and README for further details. + * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. + * */ #ifndef TIMERS_H @@ -33,14 +35,14 @@ class CoreExport Timer bool repeat; public: - /** Default constructor, initializes the triggering time + /** Constructor, initializes the triggering time * @param time_from_now The number of seconds from now to trigger the timer * @param now The time now * @param repeating Repeat this timer every time_from_now if this is true */ Timer(long time_from_now, time_t now = Anope::CurTime, bool repeating = false); - /** Default destructor, removes the timer from the list + /** Destructor, removes the timer from the list */ virtual ~Timer(); @@ -91,14 +93,14 @@ class CoreExport TimerManager static std::vector<Timer *> Timers; public: /** Add a timer to the list - * @param T A Timer derived class to add + * @param t A Timer derived class to add */ - static void AddTimer(Timer *T); + static void AddTimer(Timer *t); /** Deletes a timer - * @param T A Timer derived class to delete + * @param t A Timer derived class to delete */ - static void DelTimer(Timer *T); + static void DelTimer(Timer *t); /** Tick all pending timers * @param ctime The current time |