Skip to content

Commit 7f28149

Browse files
committed
Add missing message declaration in header file.
Use specific type instead of id.
1 parent b71e1ca commit 7f28149

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

PBGitRepository.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ static NSString * PBStringFromBranchFilterType(PBGitXBranchFilterType type) {
8888

8989
- (NSFileHandle*) handleForCommand:(NSString*) cmd;
9090
- (NSFileHandle*) handleForArguments:(NSArray*) args;
91+
- (NSFileHandle*) handleInWorkDirForArguments:(NSArray *)args;
9192
- (NSFileHandle *) handleInWorkDirForArguments:(NSArray *)args;
9293
- (NSString*) outputForCommand:(NSString*) cmd;
9394
- (NSString *)outputForCommand:(NSString *)str retValue:(int *)ret;

PBWebController.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#import <Cocoa/Cocoa.h>
1010
#import <WebKit/WebKit.h>
1111

12+
#import "PBGitRepository.h"
13+
1214
@interface PBWebController : NSObject {
1315
IBOutlet WebView* view;
1416
NSString *startFile;
@@ -18,11 +20,11 @@
1820
NSMapTable *callbacks;
1921

2022
// For the repository access
21-
IBOutlet id repository;
23+
IBOutlet PBGitRepository *repository;
2224
}
2325

2426
@property (retain) NSString *startFile;
25-
@property (retain) id repository;
27+
@property (retain) PBGitRepository *repository;
2628

2729
- (WebScriptObject *) script;
2830
- (void) closeView;

0 commit comments

Comments
 (0)