mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Declare classes NSDate and NSTimer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1342 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3c5f1b1640
commit
c3e0f13a15
1 changed files with 12 additions and 4 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <objects/stdobjects.h>
|
||||
|
||||
@class NSString;
|
||||
@class NSTimer, NSDate;
|
||||
|
||||
@interface NSRunLoop : NSObject
|
||||
@end
|
||||
|
@ -37,7 +37,7 @@
|
|||
/* Getting this thread's current run loop */
|
||||
+ (NSRunLoop*) currentRunLoop;
|
||||
- (NSString*) currentMode;
|
||||
- (NSDate*) limitDateForMode: (NSString*)mode
|
||||
- (NSDate*) limitDateForMode: (NSString*)mode;
|
||||
|
||||
/* Adding timers. */
|
||||
- (void) addTimer: (NSTimer*)timer forMode: (NSString*)mode;
|
||||
|
@ -50,7 +50,15 @@
|
|||
|
||||
@end
|
||||
|
||||
extern NSString *NSDefaultRunLoopMode;
|
||||
extern NSString *NSConnectionReplyMode;
|
||||
|
||||
/* Declare some run loop modes. These String's are actually defined
|
||||
in the GNU RunLoop class. These #define's take the place of:
|
||||
extern NSString *NSDefaultRunLoopMode;
|
||||
extern NSString *NSConnectionReplyMode;
|
||||
*/
|
||||
|
||||
#define NSDefaultRunLoopMode RunLoopDefaultMode
|
||||
#define NSConnectionReplyMode RunLoopConnectionReplyMode
|
||||
|
||||
|
||||
#endif /*__NSRunLoop_h_OBJECTS_INCLUDE */
|
||||
|
|
Loading…
Reference in a new issue