This is RunLoop.h in view mode; [Download] [Up]
#ifndef __RunLoop_h_GNUSTEP_BASE_INCLUDE #define __RunLoop_h_GNUSTEP_BASE_INCLUDE #include <gnustep/base/preface.h> #include <gnustep/base/NotificationDispatcher.h> #include <gnustep/base/Set.h> #include <Foundation/NSMapTable.h> #include <sys/types.h> @interface RunLoop : NSObject { id _current_mode; NSMapTable *_mode_2_timers; NSMapTable *_mode_2_in_ports; NSMapTable *_mode_2_fd_listeners; } - (void) addPort: port forMode: (id <String>)mode; - (void) removePort: port forMode: (id <String>)mode; - (void) addTimer: timer forMode: (id <String>)mode; - limitDateForMode: (id <String>)mode; - (void) acceptInputForMode: (id <String>)mode beforeDate: date; - (id <String>) currentMode; - (void) run; - (void) runUntilDate: limit_date; - (BOOL) runOnceBeforeDate: date; - (BOOL) runOnceBeforeDate: date forMode: (id <String>)mode; + (void) run; + (void) runUntilDate: date; + (void) runUntilDate: date forMode: (id <String>)mode; + (BOOL) runOnceBeforeDate: date; + (BOOL) runOnceBeforeDate: date forMode: (id <String>)mode; + currentInstance; + (id <String>) currentMode; @end /* Mode strings. */ extern id RunLoopDefaultMode; /* xxx This interface will probably change. */ @protocol FdListening - (void) readyForReadingOnFileDescriptor: (int)fd; @end /* xxx This interface will probably change. */ @interface NSObject (OptionalPortRunLoop) /* If a InPort object responds to this, it is sent just before we are about to wait listening for input. This interface will probably change. */ - (void) getFds: (int*)fds count: (int*)count; @end #endif /* __RunLoop_h_GNUSTEP_BASE_INCLUDE */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.