]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.h
Always prefer alloc/init/autorelease/... to alloc/init/.../release.
[cydia.git] / UICaboodle / RVBook.h
index b605cc657fccad8ec1902dbe37a80f557b90816d..1d06b0b92a1db5118221e720301adc9f04aeae17 100644 (file)
@@ -2,10 +2,14 @@
 
 #import <UIKit/UIKit.h>
 
+@protocol HookProtocol
+- (void) didDismissModalViewController;
+@end
+
 @interface UCNavigationController : UINavigationController {
-       id hook_;
+    _transient id<HookProtocol> hook_;
 }
-- (void) setHook:(id)hook;
+- (void) setHook:(id<HookProtocol>)hook;
 @end