mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
0ad92349e6
Added Clone… to the File menu which opens a window to select the repository URL and the path for the destination.
42 lines
1023 B
Objective-C
42 lines
1023 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 "PBGitRepository.h"
|
|
|
|
@class PBCLIProxy;
|
|
@class PBCloneRepositoryPanel;
|
|
|
|
@interface ApplicationController : NSObject
|
|
{
|
|
IBOutlet NSWindow *window;
|
|
IBOutlet id firstResponder;
|
|
NSPersistentStoreCoordinator *persistentStoreCoordinator;
|
|
NSManagedObjectModel *managedObjectModel;
|
|
NSManagedObjectContext *managedObjectContext;
|
|
|
|
PBCLIProxy *cliProxy;
|
|
PBCloneRepositoryPanel *cloneRepositoryPanel;
|
|
}
|
|
@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) showCloneRepository:(id)sender;
|
|
@end
|