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.
29 lines
611 B
Objective-C
29 lines
611 B
Objective-C
//
|
|
// PBDetailController.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 16-06-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PBGitCommit.h"
|
|
#import "PBGitTree.h"
|
|
|
|
@interface PBDetailController : NSObject {
|
|
IBOutlet NSNumber* selectedTab;
|
|
IBOutlet NSArrayController* commitController;
|
|
|
|
PBGitTree* gitTree;
|
|
PBGitCommit* webCommit;
|
|
PBGitCommit* rawCommit;
|
|
PBGitCommit* realCommit;
|
|
}
|
|
|
|
@property (copy) NSNumber* selectedTab;
|
|
@property (retain) PBGitCommit* webCommit;
|
|
@property (retain) PBGitCommit* rawCommit;
|
|
@property (retain) PBGitTree* gitTree;
|
|
|
|
@end
|