forked from AndrewSchenk/App-Scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
APIScannerAppDelegate.h
43 lines (32 loc) · 1.22 KB
/
APIScannerAppDelegate.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
//
// APIScannerAppDelegate.h
// APIScanner
//
// Created by Andrew Schenk on 9/2/10.
// Copyright 2010 Chimp Studios. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "MainVC.h"
#import "MyPrefsWC.h"
@interface APIScannerAppDelegate : NSObject <NSApplicationDelegate> {
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
NSManagedObjectContext *threadedContext;
MainVC *mainVC;
MAAttachedWindow *updateWindow;
IBOutlet NSView *updateBubble;
IBOutlet NSMenuItem *appScannerMi;
}
@property(nonatomic, retain) MainVC *mainVC;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectContext *threadedContext;
-(IBAction)triggerUpdateBubble:(id)sender;
-(void)showMainView;
-(IBAction)startUpdatingDatabase:(id)sender;
- (IBAction)openPreferencesWindow:(id)sender;
- (IBAction)openFile:(id)sender;
- (NSManagedObjectContext *) managedThreadedContext;
@end