Blender V5.0
CocoaAppDelegate Class Reference

Inherits NSObject, and <NSApplicationDelegate>.

Instance Methods

(instancetype) - initWithSystemCocoa:
(void) - dealloc
(void) - applicationDidFinishLaunching:
(BOOL) - application:openFile:
(NSApplicationTerminateReply) - applicationShouldTerminate:
(void) - applicationWillTerminate:
(void) - applicationWillBecomeActive:
(void) - toggleFullScreen:
(void) - windowWillClose:
(BOOL) - applicationSupportsSecureRestorableState:

Properties

GHOST_SystemCocoasystemCocoa

Detailed Description

CocoaAppDelegate ObjC object to capture applicationShouldTerminate, and send quit event

Definition at line 365 of file GHOST_SystemCocoa.mm.

Method Documentation

◆ application:openFile:

- (BOOL) application: (NSApplication *) theApplication
openFile: (NSString *) filename 

Definition at line 425 of file GHOST_SystemCocoa.mm.

◆ applicationDidFinishLaunching:

- (void) applicationDidFinishLaunching: (NSNotification *) aNotification

Definition at line 412 of file GHOST_SystemCocoa.mm.

◆ applicationShouldTerminate:

- (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) sender

Definition at line 430 of file GHOST_SystemCocoa.mm.

◆ applicationSupportsSecureRestorableState:

- (BOOL) applicationSupportsSecureRestorableState: (NSApplication *) app

Definition at line 527 of file GHOST_SystemCocoa.mm.

◆ applicationWillBecomeActive:

- (void) applicationWillBecomeActive: (NSNotification *) aNotification

Definition at line 449 of file GHOST_SystemCocoa.mm.

◆ applicationWillTerminate:

- (void) applicationWillTerminate: (NSNotification *) aNotification

Definition at line 442 of file GHOST_SystemCocoa.mm.

References C, and WM_exit().

◆ dealloc

- (void) dealloc

Definition at line 403 of file GHOST_SystemCocoa.mm.

References dealloc.

Referenced by dealloc.

◆ initWithSystemCocoa:

- (instancetype) initWithSystemCocoa: (GHOST_SystemCocoa *) systemCocoa

Definition at line 387 of file GHOST_SystemCocoa.mm.

References self, and systemCocoa.

◆ toggleFullScreen:

- (void) toggleFullScreen: (NSNotification *) notification

Definition at line 454 of file GHOST_SystemCocoa.mm.

◆ windowWillClose:

- (void) windowWillClose: (NSNotification *) notification

Definition at line 475 of file GHOST_SystemCocoa.mm.

References in.

Property Documentation

◆ systemCocoa

- (GHOST_SystemCocoa*) systemCocoa
readnonatomicassign

Definition at line 367 of file GHOST_SystemCocoa.mm.

Referenced by initWithSystemCocoa:.


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