mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
6ba944b2ac
This controller makes sure that only the current view receives its notifications. Therefore we won't do any work that we don't see, like parsing diffs or asking for trees. This makes everything quicker.
26 lines
585 B
Objective-C
26 lines
585 B
Objective-C
//
|
|
// PBWebGitController.h
|
|
// GitTest
|
|
//
|
|
// Created by Pieter de Bie on 14-06-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "ApplicationController.h"
|
|
#import "PBGitCommit.h"
|
|
#import "PBDetailController.h"
|
|
#import <WebKit/WebKit.h>
|
|
|
|
@interface PBWebGitController : NSObject {
|
|
IBOutlet ApplicationController* controller;
|
|
IBOutlet WebView* view;
|
|
IBOutlet PBDetailController* detailController;
|
|
NSString* currentSha;
|
|
NSString* diff;
|
|
}
|
|
|
|
- (void) changeContentTo: (PBGitCommit *) content;
|
|
@property (readonly) NSString* diff;
|
|
@end
|