ObjFW
Instance Methods | List of all members
<OFApplicationDelegate> Protocol Reference

A protocol for delegates of OFApplication. More...

#import <ObjFW/OFApplication.h>

Inheritance diagram for <OFApplicationDelegate>:
<OFObject>

Instance Methods

(void) - applicationDidFinishLaunching
 A method which is called when the application was initialized and is running now.
 
(void) - applicationWillTerminate
 A method which is called when the application will terminate.
 
(void) - applicationDidReceiveSIGINT
 A method which is called when the application received a SIGINT. More...
 
(void) - applicationDidReceiveSIGHUP
 A method which is called when the application received a SIGHUP. More...
 
(void) - applicationDidReceiveSIGUSR1
 A method which is called when the application received a SIGUSR1. More...
 
(void) - applicationDidReceiveSIGUSR2
 A method which is called when the application received a SIGUSR2. More...
 
- Instance Methods inherited from <OFObject>
(Class) - class
 Returns the class of the object. More...
 
(Class) - superclass
 Returns the superclass of the object. More...
 
(bool) - isKindOfClass:
 Returns a boolean whether the object of the specified kind. More...
 
(bool) - isMemberOfClass:
 Returns a boolean whether the object is a member of the specified class. More...
 
(bool) - respondsToSelector:
 Returns a boolean whether the object responds to the specified selector. More...
 
(bool) - conformsToProtocol:
 Checks whether the object conforms to the specified protocol. More...
 
(nullable IMP) - methodForSelector:
 Returns the implementation for the specified selector. More...
 
(nullable const char *) - typeEncodingForSelector:
 Returns the type encoding for the specified selector. More...
 
(nullable id) - performSelector:
 Performs the specified selector. More...
 
(nullable id) - performSelector:withObject:
 Performs the specified selector with the specified object. More...
 
(nullable id) - performSelector:withObject:withObject:
 Performs the specified selector with the specified objects. More...
 
(bool) - isEqual:
 Checks two objects for equality. More...
 
(uint32_t) - hash
 Calculates a hash for the object. More...
 
(id) - retain
 Increases the retain count. More...
 
(unsigned int) - retainCount
 Returns the retain count. More...
 
(void) - release
 Decreases the retain count. More...
 
(id) - autorelease
 Adds the object to the topmost OFAutoreleasePool of the thread's autorelease pool stack. More...
 
(id) - self
 Returns the receiver. More...
 
(bool) - isProxy
 Returns whether the object is a proxy object. More...
 

Detailed Description

A protocol for delegates of OFApplication.

Method Documentation

- (void) applicationDidReceiveSIGHUP
optional

A method which is called when the application received a SIGHUP.

This signal is not available on Windows.

Warning
You are not allowed to send any messages inside this method, as message dispatching is not signal-safe! You are only allowed to do signal-safe operations like setting a variable or calling a signal-safe function!
- (void) applicationDidReceiveSIGINT
optional

A method which is called when the application received a SIGINT.

Warning
You are not allowed to send any messages inside this method, as message dispatching is not signal-safe! You are only allowed to do signal-safe operations like setting a variable or calling a signal-safe function!
- (void) applicationDidReceiveSIGUSR1
optional

A method which is called when the application received a SIGUSR1.

This signal is not available on Windows.

Warning
You are not allowed to send any messages inside this method, as message dispatching is not signal-safe! You are only allowed to do signal-safe operations like setting a variable or calling a signal-safe function!
- (void) applicationDidReceiveSIGUSR2
optional

A method which is called when the application received a SIGUSR2.

This signal is not available on Windows.

Warning
You are not allowed to send any messages inside this method, as message dispatching is not signal-safe! You are only allowed to do signal-safe operations like setting a variable or calling a signal-safe function!

The documentation for this protocol was generated from the following file: