From 3438e43af3fd496ff19592763af3c34e3fb33eb9 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Tue, 25 Nov 2014 13:43:39 +0100 Subject: [PATCH] changed doc only to make doxygen happier and get less warnings during build --- src/cron.cpp | 10 +++++----- src/week.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cron.cpp b/src/cron.cpp index e2d3508..391a442 100644 --- a/src/cron.cpp +++ b/src/cron.cpp @@ -179,11 +179,11 @@ time_t WeekCron::get_next_run(time_t calc_from) const /** * Returns the next point in time the item is scheduled for. Does not care about intervals. - * Returns next point if scheduled for #calc_from. + * Returns next point if scheduled for @a calc_from. * @param calc_from Point of time to start calculations from * @param daysec Start point of time in seconds since the start of the day * @param todaycheck If true we check if the calculated time point is before - our #calc_from calcucation start point. + our @a calc_from calcucation start point. If yes, we will advance to the next day. * @return Next point in time */ @@ -223,11 +223,11 @@ time_t WeekCron::get_next_point(const time_t calc_from, const int daysec, const /** * Returns the previous or current point in time the item was scheduled for. * Does not care about intervals. - * Returns #calc_from if scheduled for #calc_from. + * Returns @a calc_from if scheduled for @a calc_from. * @param calc_from Point of time to start calculations from * @param daysec Start point of time in seconds since the start of the day * @param todaycheck If true we check if the calculated time point is after - our #calc_from calcucation start point. + our @a calc_from calcucation start point. If yes, we will go back to the previos day * @return Previous point in time */ @@ -266,7 +266,7 @@ time_t WeekCron::get_previousnow_point(const time_t calc_from, const int daysec, } /** - * Converts #daysec into hour/minute/second and fills it into the provided struct tm + * Converts @a daysec into hour/minute/second and fills it into the provided struct tm * @param ft struct tm to fill wallclock time into * @param daysec Start point of time in seconds since the start of the day */ diff --git a/src/week.cpp b/src/week.cpp index ce8a0f6..642682b 100644 --- a/src/week.cpp +++ b/src/week.cpp @@ -129,7 +129,7 @@ bool Week::set(const WeekDay day, bool value) /** * Check if a particular day is active - * @param d Day to check + * @param day Day to check * @return True if day is active, false otherwise */ bool Week::get(WeekDay day) const @@ -139,7 +139,7 @@ bool Week::get(WeekDay day) const /** * Check if a particular day is active - * @param d Day to check + * @param day Day to check * @return True if day is active, false otherwise */ bool Week::is_set(WeekDay day) const -- 1.7.1