summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 02:41:38 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-23 02:48:53 -0800
commit46d3a5cfc2959b65fef514faa666d735b91afbc6 (patch)
treea9e7db4388803dd2814cd9398977bbe423706580 /UICaboodle/BrowserView.h
parent3fb1a73c977a3163429cde749b51590186d0ed2f (diff)
Simplify memory management of custom buttons.
Diffstat (limited to 'UICaboodle/BrowserView.h')
-rw-r--r--UICaboodle/BrowserView.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h
index 51cb345..32ef3b4 100644
--- a/UICaboodle/BrowserView.h
+++ b/UICaboodle/BrowserView.h
@@ -10,6 +10,8 @@
#import <JavaScriptCore/JavaScriptCore.h>
+#include "substrate.h"
+
@class NSMutableArray;
@class NSString;
@class NSURL;
@@ -77,10 +79,10 @@
NSMutableSet *loading_;
// XXX: NSString * or UIImage *
- id custom_;
- NSString *style_;
+ _H<NSObject> custom_;
+ _H<NSString> style_;
- WebScriptObject *function_;
+ _H<WebScriptObject> function_;
WebScriptObject *closer_;
float width_;