ObjFW  Check-in [15662dd417]

Overview
Comment:Move OFRunLoop constants to a separate file

This allows including them from the Amiga linklib in the future.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 15662dd4172b01324d1583fe9478cf58c0999173aa59f07cbb6494a53bd0f7cc
User & Date: js on 2021-05-13 15:32:59
Other Links: manifest | tags
Context
2021-05-13
15:44
OFDNSResourceRecord.h: Document C functions check-in: da6a89fa23 user: js tags: trunk
15:32
Move OFRunLoop constants to a separate file check-in: 15662dd417 user: js tags: trunk
15:31
Move OFFileManager constants to a separate file check-in: 2bdf205dfd user: js tags: trunk
Changes

Modified src/OFRunLoop.m from [ab97878b5e] to [08b8bec829].

39
40
41
42
43
44
45
46

47
48
49
50
51
52
53
#import "OFSortedList.h"
#import "OFTimer.h"
#import "OFTimer+Private.h"
#import "OFDate.h"

#import "OFObserveFailedException.h"

const OFRunLoopMode OFDefaultRunLoopMode = @"OFDefaultRunLoopMode";

static OFRunLoop *mainRunLoop = nil;

@interface OFRunLoopState: OFObject
#ifdef OF_HAVE_SOCKETS
    <OFKernelEventObserverDelegate>
#endif
{







|
>







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#import "OFSortedList.h"
#import "OFTimer.h"
#import "OFTimer+Private.h"
#import "OFDate.h"

#import "OFObserveFailedException.h"

#include "OFRunLoopConstants.inc"

static OFRunLoop *mainRunLoop = nil;

@interface OFRunLoopState: OFObject
#ifdef OF_HAVE_SOCKETS
    <OFKernelEventObserverDelegate>
#endif
{

Added src/OFRunLoopConstants.inc version [e240ef8cad].

































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2008-2021 Jonathan Schleifer <js@nil.im>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.
 *
 * 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.
 */

const OFRunLoopMode OFDefaultRunLoopMode = @"OFDefaultRunLoopMode";