Differences From Artifact [53d78093d3]:
- File
src/OFApplication.h
— part of check-in
[f282aaa672]
at
2010-10-10 12:01:52
on branch trunk
— Better storing of argc and argv.
This makes it possible to pass argc and argv to third party libs
requiring those. (user: js, size: 3471) [annotate] [blame] [check-ins using]
To Artifact [20532cb77f]:
- File src/OFApplication.h — part of check-in [cd677a3484] at 2010-10-10 21:09:43 on branch trunk — Better storing of argc and argv for real now. (user: js, size: 3477) [annotate] [blame] [check-ins using]
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | @class OFMutableArray; @class OFMutableDictionary; #define OF_APPLICATION_DELEGATE(cls) \ int \ main(int argc, char *argv[]) \ { \ |
︙ | |||
97 98 99 100 101 102 103 | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | - + - + | * * You should not call this directly! Use of_application_main instead! * * \param argc The number of arguments * \param argv The argument values */ - (void)setArgumentCount: (int*)argc |
︙ | |||
156 157 158 159 160 161 162 | 156 157 158 159 160 161 162 163 | - + | */ - (void)terminateWithStatus: (int)status; @end @interface OFObject (OFApplicationDelegate) <OFApplicationDelegate> @end |