mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
e232181fae
This allows to read in arbitrary blobs from the repository. For more information, see the CallingFromWebKit.txt document in the Documentation/ directory.
29 lines
523 B
Objective-C
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
|