Files
gitx/ApplicationController.h
T
André Berg 75e8a5b9b1 Bug fix: Make QuickLook panel work by using the now public API.
Also implements Finder's fade transitions, handles preview icon creation
through GCD block dispatch and does the right thing regarding events:
Mouse events go to the panel, key events to the fileBrowser outline view.
2009-10-20 04:12:06 +02:00

42 lines
1001 B
Objective-C

//
// GitTest_AppDelegate.h
// GitTest
//
// Created by Pieter de Bie on 13-06-08.
// Copyright __MyCompanyName__ 2008 . All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h> /* for QLPreviewPanel */
#import "PBGitRepository.h"
@class PBCLIProxy;
@interface ApplicationController : NSObject
{
IBOutlet NSWindow *window;
IBOutlet id firstResponder;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
PBCLIProxy *cliProxy;
}
@property (retain) PBCLIProxy* cliProxy;
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;
- (IBAction)openPreferencesWindow:(id)sender;
- (IBAction)showAboutPanel:(id)sender;
- (IBAction)installCliTool:(id)sender;
- (IBAction)saveAction:sender;
- (IBAction) showHelp:(id) sender;
- (IBAction)togglePreviewPanel:(id)previewPanel;
@end