-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppController.h
More file actions
54 lines (35 loc) · 1.64 KB
/
AppController.h
File metadata and controls
54 lines (35 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
Project: DSA-SpielHelfer
Author: Sebastian Reitenbach
Created: 2024-09-07 23:14:39 +0200 by sebastia
Application Controller
*/
#ifndef _PCAPPPROJ_APPCONTROLLER_H
#define _PCAPPPROJ_APPCONTROLLER_H
#import <AppKit/AppKit.h>
@class DSACharacterGenerationController;
@class DSANPCGenerationController;
@class DSAAdventureGenerationController;
@class DSAMapViewController;
@class DSAEquipmentListViewController;
@class DSANameGenerationController;
@class DSABattleWindowController;
@class DSALocalMapViewController;
@interface AppController : NSObject <NSComboBoxDataSource, NSComboBoxDelegate>
@property (strong) DSACharacterGenerationController *characterGenController;
@property (strong) DSANPCGenerationController *npcGenController;
@property (strong) DSAAdventureGenerationController *adventureGenController;
@property (nonatomic, strong) DSAMapViewController *mapViewController; // Retain the map view controller
@property (nonatomic, strong) DSABattleWindowController *battleViewController; // Retain the map view controller
@property (nonatomic, strong) DSAEquipmentListViewController *equipmentListViewController; // Retain the equipment view controller
@property (nonatomic, strong) DSANameGenerationController *nameGenerationController; // Retain the equipment view controller
@property (nonatomic, strong) DSALocalMapViewController *localMapViewController; // retain the local map view controller
@property (nonatomic, weak) IBOutlet NSMenuItem *levelUpMenuItem;
+ (void) initialize;
- (id) init;
- (void) dealloc;
- (void) showPrefPanel: (id)sender;
// called by the AppDelegate on startup
- (void)setupApplication;
@end
#endif