Overview
Comment: | Make -[OFApplication run] private. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f641274833c24eed049585c19a2c5bba |
User & Date: | js on 2013-03-13 11:59:45 |
Other Links: | manifest | tags |
Context
2013-03-13
| ||
13:31 | objfw-config: Add --arc to help. check-in: e6b08898bd user: js tags: trunk | |
11:59 | Make -[OFApplication run] private. check-in: f641274833 user: js tags: trunk | |
2013-03-12
| ||
20:10 | Document OFApplication a little more. check-in: 0d80255cc3 user: js tags: trunk | |
Changes
Modified src/OFApplication.h from [40724319b8] to [ab2b8913d3].
︙ | ︙ | |||
216 217 218 219 220 221 222 | /*! * @brief Sets the delegate of the application. * * @param delegate The delegate for the application */ - (void)setDelegate: (id <OFApplicationDelegate>)delegate; | < < < < < | | 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | /*! * @brief Sets the delegate of the application. * * @param delegate The delegate for the application */ - (void)setDelegate: (id <OFApplicationDelegate>)delegate; - (void)OF_run; /*! * @brief Terminates the application. */ - (void)terminate; /*! |
︙ | ︙ |
Modified src/OFApplication.m from [19e85a0ef2] to [2f474b242c].
︙ | ︙ | |||
102 103 104 105 106 107 108 | [app OF_setArgumentCount: wargc andWideArgumentValues: wargv]; #endif delegate = [[cls alloc] init]; [app setDelegate: delegate]; | | | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | [app OF_setArgumentCount: wargc andWideArgumentValues: wargv]; #endif delegate = [[cls alloc] init]; [app setDelegate: delegate]; [app OF_run]; return 0; } @implementation OFApplication + (OFApplication*)sharedApplication { |
︙ | ︙ | |||
394 395 396 397 398 399 400 | REGISTER_SIGNAL(SIGHUP) REGISTER_SIGNAL(SIGUSR1) REGISTER_SIGNAL(SIGUSR2) #endif #undef REGISTER_SIGNAL } | | | 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 | REGISTER_SIGNAL(SIGHUP) REGISTER_SIGNAL(SIGUSR1) REGISTER_SIGNAL(SIGUSR2) #endif #undef REGISTER_SIGNAL } - (void)OF_run { void *pool = objc_autoreleasePoolPush(); OFRunLoop *runLoop; #ifdef OF_HAVE_THREADS [OFThread OF_createMainThread]; runLoop = [OFRunLoop currentRunLoop]; |
︙ | ︙ |