ObjFW
 All Classes Functions Variables
Instance Methods | List of all members
<OFApplicationDelegate> Protocol Referenceabstract

A protocol for delegates of OFApplication. More...

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

Detailed Description

A protocol for delegates of OFApplication.

Method Documentation

- (void) applicationDidReceiveSIGHUP

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

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

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

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: