summaryrefslogtreecommitdiff
path: root/CyteKit/WebViewController.h
diff options
context:
space:
mode:
Diffstat (limited to 'CyteKit/WebViewController.h')
-rw-r--r--CyteKit/WebViewController.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/CyteKit/WebViewController.h b/CyteKit/WebViewController.h
index 61c4c1a..477828c 100644
--- a/CyteKit/WebViewController.h
+++ b/CyteKit/WebViewController.h
@@ -30,6 +30,10 @@
@class IndirectDelegate;
+@interface Diversion : NSObject
+- (id) initWithFrom:(NSString *)from to:(NSString *)to;
+@end
+
@protocol CyteWebViewControllerDelegate
- (void) retainNetworkActivityIndicator;
- (void) releaseNetworkActivityIndicator;
@@ -68,6 +72,9 @@
- (id) initWithWidth:(float)width;
- (id) initWithWidth:(float)width ofClass:(Class)_class;
++ (void) setApplicationNameForUserAgent:(NSString *)userAgent;
+- (NSString *) applicationNameForUserAgent;
+
- (void) callFunction:(WebScriptObject *)function;
- (void) reloadURLWithCache:(BOOL)cache;
@@ -107,6 +114,8 @@
- (void) registerFrame:(WebFrame *)frame;
++ (void) addDiversion:(Diversion *)diversion;
+
@end
#endif//CyteKit_WebViewController_H