mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
0b81911d76
This patch adds a CFBundleGitRevision key to Info.plist which is set to the output of "git describe" when building. The menu-entry for "About GitX" was reconnected to a custom method in the AppController, which reads the CF-string from the .plist and also indicates if the build is a DEBUG-build. Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
39 lines
900 B
Objective-C
39 lines
900 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;
|
|
|
|
@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;
|
|
|
|
@end
|