Files
gitx/PBWebChangesController.h
T
Pieter de Bie 9c4c2a347b CommitView: Allow changing of context size
This adds a slider in the commit view with
which the user can change the context size.

This is useful for example if the hunks are too
big; by changing the context size, a hunk can be
split and then the changes can be committed.
2009-01-19 21:37:37 +00:00

32 lines
751 B
Objective-C

//
// PBWebChangesController.h
// GitX
//
// Created by Pieter de Bie on 22-09-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PBWebController.h"
#import "PBGitCommitController.h"
#import "PBChangedFile.h"
@class PBGitIndexController;
@interface PBWebChangesController : PBWebController {
IBOutlet NSArrayController *unstagedFilesController;
IBOutlet NSArrayController *cachedFilesController;
IBOutlet PBGitCommitController *controller;
IBOutlet PBGitIndexController *indexController;
PBChangedFile *selectedFile;
BOOL selectedFileIsCached;
}
- (void) refresh;
- (void) setStateMessage:(NSString *)state;
- (void) showMultiple:(NSArray *)files;
- (void) setContextSize:(int)size;
@end