-
Notifications
You must be signed in to change notification settings - Fork 1
/
TWAppController.h
48 lines (39 loc) · 1.2 KB
/
TWAppController.h
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
/*
Copyright (C) 2013 Quentin Mathe
Author: Quentin Mathe <[email protected]>
Date: April 2013
License: Modified BSD (see COPYING)
*/
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import <EtoileFoundation/EtoileFoundation.h>
#ifndef GNUSTEP
#import <EtoileFoundation/GNUstep.h>
#endif
#import <CoreObject/CoreObject.h>
#import <EtoileText/EtoileText.h>
#import <EtoileUI/EtoileUI.h>
#import <EtoileUI/CoreObjectUI.h>
@class TWLayoutItemFactory;
/** The controller to supervise the entire application */
@interface TWAppController : ETDocumentController
{
TWLayoutItemFactory *itemFactory;
NSMutableSet *openedGroups;
COCustomTrack *mainUndoTrack;
NSString *currentPresentationTitle;
}
/** @taskunit Menu Management */
/**
* The checkmarked menu items among the various presentations (icon, list etc.)
* in the View menu.
*
* As an alternative, we could have a method -[ETController becomeActive]
* invoked one every first responder change to memorize the current presentation
* title in TWEditorController directly.
*/
@property (nonatomic, retain) NSString *currentPresentationTitle;
/** @taskunit Actions */
- (IBAction) undo: (id)sender;
- (IBAction) redo: (id)sender;
@end