Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (24 sloc) 0.944 kb
//
// MarkownDocument.h
// Readown
//
// Created by Hong, MinHee on 08. 04. 09.
//
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
@class WebView;
@interface MarkdownDocument : NSDocument
{
NSString *text;
NSURL* baseURL;
NSDate *lastModified;
IBOutlet WebView *webView;
}
@property (retain) IBOutlet WebView* webView;
- (BOOL)readFromURL:(NSURL *)url ofType:(NSString *)type error:(NSError **)outError;
- (void)awakeFromNib;
- (void)loadFromBaseURL;
- (void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener;
- (void)webView:(WebView *)sender decidePolicyForNewWindowAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request newFrameName:(NSString *)frameName decisionListener:(id<WebPolicyDecisionListener>)listener;
- (IBAction)reload:(id)sender;
@end
Jump to Line
Something went wrong with that request. Please try again.