mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
*** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1114 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a2f89eeb5a
commit
3417862743
4 changed files with 579 additions and 0 deletions
46
Source/objects/RunLoop.h
Normal file
46
Source/objects/RunLoop.h
Normal file
|
@ -0,0 +1,46 @@
|
|||
#ifndef __RunLoop_h_OBJECTS_INCLUDE
|
||||
#define __RunLoop_h_OBJECTS_INCLUDE
|
||||
|
||||
#include <objects/stdobjects.h>
|
||||
#include <objects/NotificationDispatcher.h>
|
||||
#include <objects/Bag.h>
|
||||
#include <objects/Heap.h>
|
||||
#include <Foundation/NSMapTable.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@interface RunLoop : NSObject
|
||||
{
|
||||
fd_set _fds;
|
||||
NSMapTable *_fd_2_object;
|
||||
Bag *_fd_objects;
|
||||
Heap *_timers;
|
||||
NotificationDispatcher *_dispatcher;
|
||||
Array *_queues;
|
||||
}
|
||||
|
||||
- (void) addFileDescriptor: (int)fd
|
||||
invocation: invocation
|
||||
forMode: (id <String>)mode;
|
||||
- (void) removeFileDescriptor: (int)fd
|
||||
forMode: (id <String>)mode;
|
||||
|
||||
- (void) addTimer: timer forMode: (id <String>)mode;
|
||||
|
||||
- limitDateForMode: (id <String>)mode;
|
||||
- (void) acceptInputForMode: (id <String>)mode
|
||||
beforeDate: date;
|
||||
|
||||
- (void) run;
|
||||
- (void) runUntilDate: limit_date;
|
||||
- (BOOL) runMode: (id <String>)mode
|
||||
beforeDate: limit_date;
|
||||
|
||||
+ (void) run;
|
||||
+ (void) runUntilDate: date;
|
||||
|
||||
+ currentInstance;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
#endif /* __RunLoop_h_OBJECTS_INCLUDE */
|
Loading…
Add table
Add a link
Reference in a new issue