Files
gitx/FileViewer/FileViewerController.h
German Laullon 8b357d40e9 log work
2010-06-15 08:54:22 -07:00

39 lines
897 B
Objective-C

//
// FileViewerController.h
// GitX
//
// Created by German Laullon on 11/06/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
#import "MGScopeBar.h"
#import "PBGitRepository.h"
@interface FileViewerController : NSViewController <MGScopeBarDelegate> {
IBOutlet NSSegmentedCell *displayControl;
IBOutlet MGScopeBar *scopeBar;
IBOutlet WebView *webViewFileViwer;
NSMutableArray *groups;
NSString *file;
NSString *sha;
PBGitRepository *repository;
id controller;
bool commit;
}
- (id)initWithRepository:(PBGitRepository *)theRepository andController:(id)theController;
- (void)showFile:(NSString *)file sha:(NSString *)sha;
- (NSString*)refSpec;
-(NSString *)parseLog:(NSString *)string;
-(NSString *)parseBlame:(NSString *)string;
@property(retain) NSMutableArray *groups;
@property(readwrite) bool commit;
@end