Differences From Artifact [8f191a6ed6]:
- File src/OFApplication.h — part of check-in [1009e97dcd] at 2010-06-13 00:16:56 on branch trunk — Add protocol to type of delegate of OFApplication. (user: js, size: 3222) [annotate] [blame] [check-ins using]
To Artifact [c960316ed3]:
- File
src/OFApplication.h
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 3194) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
44 45 46 47 48 49 50 | * \brief Represents the application as an object. */ @interface OFApplication: OFObject { OFString *programName; OFMutableArray *arguments; OFMutableDictionary *environment; | | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | * \brief Represents the application as an object. */ @interface OFApplication: OFObject { OFString *programName; OFMutableArray *arguments; OFMutableDictionary *environment; id <OFApplicationDelegate> delegate; } #ifdef OF_HAVE_PROPERTIES @property (readonly, retain) OFString *programName; @property (readonly, retain) OFArray *arguments; @property (readonly, retain) OFDictionary *environment; @property (retain) id <OFApplicationDelegate> delegate; #endif /** * \return The only OFApplication instance in the application */ + sharedApplication; |
︙ | ︙ | |||
115 116 117 118 119 120 121 | * \return The environment of the application */ - (OFDictionary*)environment; /** * \return The delegate of the application */ | | | | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | * \return The environment of the application */ - (OFDictionary*)environment; /** * \return The delegate of the application */ - (id <OFApplicationDelegate>)delegate; /** * Sets the delegate of the application. * * \param delegate The delegate for the application */ - (void)setDelegate: (id <OFApplicationDelegate>)delegate; /** * Starts the application after everything has been initialized. */ - (void)run; /** |
︙ | ︙ |