12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* Alternatively, it may be distributed under the terms of the GNU General
* Public License, either version 2 or 3, which can be found in the file
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#import "OFObject.h"
OF_ASSUME_NONNULL_BEGIN
/*! @file */
@class OFTimer;
@class OFDate;
@class OFRunLoop;
#ifdef OF_HAVE_THREADS
@class OFCondition;
#endif
#ifdef OF_HAVE_BLOCKS
/*!
* @brief A block to execute when a timer fires.
|
>
<
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* Alternatively, it may be distributed under the terms of the GNU General
* Public License, either version 2 or 3, which can be found in the file
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#import "OFObject.h"
#import "OFRunLoop.h"
OF_ASSUME_NONNULL_BEGIN
/*! @file */
@class OFTimer;
@class OFDate;
#ifdef OF_HAVE_THREADS
@class OFCondition;
#endif
#ifdef OF_HAVE_BLOCKS
/*!
* @brief A block to execute when a timer fires.
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
#endif
bool _valid;
#ifdef OF_HAVE_THREADS
OFCondition *_condition;
bool _done;
#endif
OFRunLoop *_Nullable _inRunLoop;
}
/*!
* @brief The time interval in which the timer will repeat, if it is a
* repeating timer.
*/
@property (readonly, nonatomic) of_time_interval_t timeInterval;
|
>
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#endif
bool _valid;
#ifdef OF_HAVE_THREADS
OFCondition *_condition;
bool _done;
#endif
OFRunLoop *_Nullable _inRunLoop;
of_run_loop_mode_t _Nullable _inRunLoopMode;
}
/*!
* @brief The time interval in which the timer will repeat, if it is a
* repeating timer.
*/
@property (readonly, nonatomic) of_time_interval_t timeInterval;
|