ObjFW  Check-in [932eb2bd6f]

Overview
Comment:ObjC 1 fix.

Don't let OFRunLoop conform to OFStreamObserverDelegate, as it does not
fully implement the protocol and we have no @optional in ObjC 1.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 932eb2bd6f3bfecb87e2e9e5bf5e9718a60926422c1f41ff69e0adcebe5c36b8
User & Date: js on 2012-09-20 00:06:22
Other Links: manifest | tags
Context
2012-09-20
00:07
Remove a comparison that's always true. check-in: 55f78b1067 user: js tags: trunk
00:06
ObjC 1 fix. check-in: 932eb2bd6f user: js tags: trunk
00:05
Fix conflicting types. check-in: 6c16e03d93 user: js tags: trunk
Changes

Modified src/OFRunLoop.h from [879b97daf3] to [50dd4708f7].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@class OFTimer;
@class OFMutableDictionary;

/**
 * \brief A class providing a run loop for the application and its processes.
 */
@interface OFRunLoop: OFObject
#ifdef OF_RUNLOOP_M
    <OFStreamObserverDelegate>
#endif
{
	OFSortedList *timersQueue;
	OFStreamObserver *streamObserver;
	OFMutableDictionary *readQueues;
}

/**







<
<
<







23
24
25
26
27
28
29



30
31
32
33
34
35
36
@class OFTimer;
@class OFMutableDictionary;

/**
 * \brief A class providing a run loop for the application and its processes.
 */
@interface OFRunLoop: OFObject



{
	OFSortedList *timersQueue;
	OFStreamObserver *streamObserver;
	OFMutableDictionary *readQueues;
}

/**

Modified src/OFRunLoop.m from [019d6ee84a] to [0f13518563].

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * 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.
 */

#include "config.h"

#define OF_RUNLOOP_M

#import "OFRunLoop.h"
#import "OFDictionary.h"
#import "OFThread.h"
#import "OFSortedList.h"
#import "OFTimer.h"
#import "OFDate.h"








<
<







12
13
14
15
16
17
18


19
20
21
22
23
24
25
 * 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.
 */

#include "config.h"



#import "OFRunLoop.h"
#import "OFDictionary.h"
#import "OFThread.h"
#import "OFSortedList.h"
#import "OFTimer.h"
#import "OFDate.h"