The App Delegate class.
More...
#import <AppDelegate.h>
Inherits NSObject, and <NSApplicationDelegate>.
The App Delegate class.
This class represents the application's delegate and takes cares of the initialization process. It also manages the menu and thus the actual application.
- Author
- Benjamin Thiemann
- Date
- 2016/11/16
◆ startBlur()
This method starts the blurring.
◆ stopBlur()
This method stops the blurring.
◆ updateMenuWithConnection:()
- (void) updateMenuWithConnection: |
|
(CBPeripheral *) |
device |
|
This method updates the menu with a new connection.
- Parameters
-
device | The connected device. |
◆ updateMenuWithConnectionAttempt()
- (void) updateMenuWithConnectionAttempt |
|
|
|
This method updates the menu with a connection attempt.
◆ updateMenuWithDisconnection:()
- (void) updateMenuWithDisconnection: |
|
(CBPeripheral *) |
device |
|
This method updates the menu with a disconnection.
- Parameters
-
device | The disconnected device. |
◆ updateMenuWithFoundDevices:()
- (void) updateMenuWithFoundDevices: |
|
(NSMutableArray *) |
devices |
|
This method updates the menu with new found devices.
- Parameters
-
◆ updateMenuWithNewBluetoothStatus:()
- (void) updateMenuWithNewBluetoothStatus: |
|
(NSString *) |
state |
|
This method updates the menu with a new bluetooth status.
- Parameters
-
state | The new bluetooth state. |
◆ updateMenuWithProfiles()
- (void) updateMenuWithProfiles |
|
|
|
This method updates the menu with new profiles.
◆ updateToolTip()
This method updates the application icon's tooltip.
◆ appName
◆ isBlurring
Boolean value that indicates whether blurring currently activated.
◆ mainMenu
◆ menuItemActiveDevice
- (NSMenuItem*) menuItemActiveDevice |
|
readwritenonatomicstrong |
The active device in the menu.
◆ menuItemActiveProfile
- (NSMenuItem*) menuItemActiveProfile |
|
readwritenonatomicstrong |
The active profile in the menu.
◆ menuItemDevices
- (NSMenuItem*) menuItemDevices |
|
readwritenonatomicstrong |
The menu item containing the submenu with all devices.
◆ menuItemProfiles
- (NSMenuItem*) menuItemProfiles |
|
readwritenonatomicstrong |
The menu item containing the submenu with all prpfiles.
◆ menuItemScan
- (NSMenuItem*) menuItemScan |
|
readwritenonatomicstrong |
The menu item containing the current scanning status.
◆ oldApp
- (NSRunningApplication*) oldApp |
|
readwriteatomicweak |
The last active application.
◆ statusItem
- (NSStatusItem*) statusItem |
|
readwritenonatomicstrong |
The menubar's status item.
◆ subMenuDevices
- (NSMenu*) subMenuDevices |
|
readwritenonatomicstrong |
The submenu containing all devices.
◆ subMenuProfiles
- (NSMenu*) subMenuProfiles |
|
readwritenonatomicstrong |
The submenu containing all profiles.
◆ wantsBlurring
Boolean value that indicates whether blurring is desired.
◆ windowControllers
- (NSMutableArray*) windowControllers |
|
readwriteatomicstrong |
The array containing all window controllers (screens).
The documentation for this class was generated from the following files:
- /Users/Benny/dropbox/software/cocoa-app/_eyeDrops/eyeDrops/doxygen/AppDelegate.h
- /Users/Benny/dropbox/software/cocoa-app/_eyeDrops/eyeDrops/doxygen/AppDelegate.m