107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
#endif
#ifdef OF_HAVE_PLEDGE
# define OF_HAVE_SANDBOX
#endif
/**
* @protocol OFApplicationDelegate OFApplication.h ObjFW/OFApplication.h
*
* @brief A protocol for delegates of OFApplication.
*
* @note Signals are not available on AmigaOS!
*/
@protocol OFApplicationDelegate <OFObject>
/**
|
|
|
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
#endif
#ifdef OF_HAVE_PLEDGE
# define OF_HAVE_SANDBOX
#endif
/**
* @protocol OFApplicationDelegate OFApplication.h ObjFW/ObjFW.h
*
* @brief A protocol for delegates of OFApplication.
*
* @note Signals are not available on AmigaOS!
*/
@protocol OFApplicationDelegate <OFObject>
/**
|
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
|
* signal-safe function!
*/
- (void)applicationDidReceiveSIGUSR2;
#endif
@end
/**
* @class OFApplication OFApplication.h ObjFW/OFApplication.h
*
* @brief A class which represents the application as an object.
*
* In order to create a new OFApplication, you should create a class conforming
* to the optional @ref OFApplicationDelegate protocol and put
* `OF_APPLICATION_DELEGATE(NameOfYourClass)` in the .m file of that class.
*
|
|
|
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
|
* signal-safe function!
*/
- (void)applicationDidReceiveSIGUSR2;
#endif
@end
/**
* @class OFApplication OFApplication.h ObjFW/ObjFW.h
*
* @brief A class which represents the application as an object.
*
* In order to create a new OFApplication, you should create a class conforming
* to the optional @ref OFApplicationDelegate protocol and put
* `OF_APPLICATION_DELEGATE(NameOfYourClass)` in the .m file of that class.
*
|