Files
gitx/PBWebController.h
T
Pieter de Bie e232181fae Add a GitX:// protocol handler
This allows to read in arbitrary blobs from the repository.
For more information, see the CallingFromWebKit.txt
document in the Documentation/ directory.
2008-11-01 19:06:05 +01:00

29 lines
523 B
Objective-C

//
// PBWebController.h
// GitX
//
// Created by Pieter de Bie on 08-10-08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
@interface PBWebController : NSObject {
IBOutlet WebView* view;
NSString *startFile;
BOOL finishedLoading;
// For async git reading
NSMapTable *callbacks;
// For the repository access
IBOutlet id repository;
}
@property (retain) NSString *startFile;
@property (retain) id repository;
- (WebScriptObject *) script;
@end