forked from atg/Ingredients
-
Notifications
You must be signed in to change notification settings - Fork 2
/
IGKApplicationDelegate.h
74 lines (52 loc) · 2.06 KB
/
IGKApplicationDelegate.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//
// IGKApplicationDelegate.h
// Ingredients
//
// Created by Alex Gordon on 23/01/2010.
// Written in 2010 by Fileability.
//
#import <Cocoa/Cocoa.h>
@class IGKLaunchController;
@class WebHistory;
@class IGKWindowController;
@interface IGKApplicationDelegate : NSObject
{
NSMutableArray *windowControllers;
IGKLaunchController *launchController;
IGKWindowController *fullscreenWindowController;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
NSManagedObjectContext *backgroundManagedObjectContext;
WebHistory *history;
id preferencesController;
dispatch_queue_t backgroundQueue;
NSUInteger docsetCount;
//The NSXMLDocument cache caches parsed NSXMLDocument trees and references them by their location on disk
NSCache *xmlDocumentCache;
//The HTML cache caches various pieces of parsed html to save the computer from parsing the same thing twice
NSCache *htmlCache;
BOOL applicationIsIndexing;
}
@property (readonly) NSMutableArray *windowControllers;
@property (readonly) id preferencesController;
@property (assign) IGKWindowController *fullscreenWindowController;
@property (assign) NSCache *xmlDocumentCache;
@property (assign) NSCache *htmlCache;
- (BOOL)hasMultipleWindowControllers;
- (dispatch_queue_t)backgroundQueue;
- (IBAction)showPreferences:(id)sender;
- (IBAction)showWindow:(id)sender;
- (IBAction)newWindow:(id)sender;
- (id)newWindowIsIndexing:(BOOL)isIndexing;
- (NSString *)developerDirectory;
- (void)queryString:(NSString *)query;
// Core Data Nonsense
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectContext *backgroundManagedObjectContext;
- (BOOL)deleteStoreFromDisk:(NSString *)urlpath;
- (IBAction)saveAction:sender;
- (IBAction)newWindow:(id)sender;
@end