summaryrefslogtreecommitdiff
path: root/CyteKit/WebViewController.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-03-04 20:53:33 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-03-04 20:53:33 -0800
commit300a26c1c0cdcc6f86880b6d70e7bdf81d210b4b (patch)
tree81491ae36666bc92649b05e65bdc024e00ae8cbd /CyteKit/WebViewController.h
parent217e22f0f4f84e74a3649d5e292c283b0c468b7f (diff)
Move cyte diversions and user agents into CyteKit.
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