@@ -34,10 +34,11 @@ uint8_t arguments; BOOL repeats; #ifdef OF_HAVE_BLOCKS of_timer_block_t block; #endif + BOOL isValid; } /** * \brief Creates and schedules a new timer with the specified time interval. * @@ -260,6 +261,27 @@ * \brief Returns the next date at which the timer will fire. * * \return The next date at which the timer will fire */ - (OFDate*)fireDate; + +/** + * \brief Invalidates the timer, preventing it from firing. + */ +- (void)invalidate; + +/** + * \brief Returns whether the timer is valid. + * + * \return Whether the timer is valid + */ +- (BOOL)isValid; + +/** + * \brief Returns the time interval in which the timer will repeat, if it is a + * repeating timer. + * + * \return The time interval in which the timer will repeat, if it is a + * repeating timer + */ +- (double)timeInterval; @end