]> git.saurik.com Git - cydia.git/commitdiff
UICaboodle/ResetView and resetViewAnimated: seem to be obsolete.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 02:31:14 +0000 (19:31 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 02:31:14 +0000 (19:31 -0700)
Cydia.mm
UICaboodle/BrowserView.h
UICaboodle/BrowserView.mm
UICaboodle/ResetView.h [deleted file]
UICaboodle/ResetView.mm [deleted file]

index 97f84c8fb01537d1f0d60389511b5d2230f6b608..8f42c6defef97f4cb360d6c367ecbf4298dcf0fe 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -119,7 +119,6 @@ extern "C" {
 #include <ext/hash_map>
 
 #include "UICaboodle/BrowserView.h"
-#include "UICaboodle/ResetView.h"
 
 #include "substrate.h"
 
index 3f759cada1e643fadd6a0b2d5a7793881e2d4232..d77430913395b38480b34f84edc3737367767f76 100644 (file)
@@ -1,4 +1,7 @@
-#import "ResetView.h"
+#import <UICaboodle/RVPage.h>
+#import <UICaboodle/RVBook.h>
+
+#import <UIKit/UIKit.h>
 
 #include <WebKit/DOMNodeList.h>
 #include <WebKit/WebFrame.h>
index 793678ef80e264357b35adaa12e2ecb961e304a7..9b0c93d6e54635e79da49dd608dd25c2f6782cdf 100644 (file)
@@ -1612,9 +1612,6 @@ static Class $UIWebBrowserView;
         [[[[self navigationItem] rightBarButtonItem] view] addSubview:indicator_];
 }
 
-- (void) resetViewAnimated:(BOOL)animated {
-}
-
 - (void) setPushed:(bool)pushed {
     pushed_ = pushed;
 }
diff --git a/UICaboodle/ResetView.h b/UICaboodle/ResetView.h
deleted file mode 100644 (file)
index 9f9fafb..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#import <UICaboodle/RVPage.h>
-#import <UICaboodle/RVBook.h>
-
-#import <UIKit/UIKit.h>
-
-@interface UIView (RVBook)
-- (void) resetViewAnimated:(BOOL)animated;
-- (void) clearView;
-@end
-
-@interface UITableView (RVBook)
-- (void) resetViewAnimated:(BOOL)animated;
-- (void) clearView;
-@end
diff --git a/UICaboodle/ResetView.mm b/UICaboodle/ResetView.mm
deleted file mode 100644 (file)
index ffdb043..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#import "ResetView.h"
-
-#include <objc/objc.h>
-#include <objc/runtime.h>
-
-#include <errno.h>
-
-#include <cstdio>
-#include <cstdlib>
-
-@implementation UIView (RVBook)
-
-- (void) resetViewAnimated:(BOOL)animated {
-    fprintf(stderr, "%s\n", class_getName(self->isa));
-    _assert(false);
-}
-
-- (void) clearView {
-    fprintf(stderr, "%s\n", class_getName(self->isa));
-    _assert(false);
-}
-
-@end
-
-@implementation UITableView (RVBook)
-
-- (void) resetViewAnimated:(BOOL)animated {
-    //[self selectRowAtIndexPath:nil animated:animated scrollPosition:UITableViewScrollPositionNone];
-    if (NSIndexPath *path = [self indexPathForSelectedRow])
-        [self deselectRowAtIndexPath:path animated:animated];
-}
-
-- (void) clearView {
-    //XXX:[[self table] clearView];
-}
-
-@end