mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
a849424a46
The cleanup method cancels any background threads and removes KV observers when the repository document is closed. Also removed KV observers that are no longer needed.
34 lines
655 B
Objective-C
34 lines
655 B
Objective-C
//
|
|
// PBGitRevList.h
|
|
// GitX
|
|
//
|
|
// Created by Pieter de Bie on 17-06-08.
|
|
// Copyright 2008 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@class PBGitRepository;
|
|
@class PBGitRevSpecifier;
|
|
|
|
@interface PBGitRevList : NSObject {
|
|
NSMutableArray *commits;
|
|
|
|
PBGitRepository *repository;
|
|
PBGitRevSpecifier *currentRev;
|
|
BOOL isGraphing;
|
|
|
|
NSThread *parseThread;
|
|
BOOL isParsing;
|
|
BOOL resetCommits;
|
|
}
|
|
|
|
- (id) initWithRepository:(PBGitRepository *)repo rev:(PBGitRevSpecifier *)rev shouldGraph:(BOOL)graph;
|
|
- (void) loadRevisons;
|
|
- (void)cancel;
|
|
|
|
@property (retain) NSMutableArray *commits;
|
|
@property (readonly) BOOL isParsing;
|
|
|
|
@end
|