]> git.saurik.com Git - uikittools.git/blobdiff - uicache.mm
Port to Xcode 4.6.3: newer versions of Xcode fail.
[uikittools.git] / uicache.mm
index 05bf3910ce8615890ac3d5c8db4683d3991ed4a3..e5235f264765096548011333a02d19f629228dca 100644 (file)
@@ -46,8 +46,6 @@
 
 #include <objc/runtime.h>
 
-#include <MobileCoreServices/LSApplicationWorkspace.h>
-
 #include "csstore.hpp"
 
 @interface NSMutableArray (Cydia)
 
 @end
 
+@interface LSApplicationWorkspace : NSObject
++ (id) defaultWorkspace;
+- (BOOL) registerApplication:(id)application;
+- (BOOL) unregisterApplication:(id)application;
+- (BOOL) invalidateIconCache:(id)bundle;
+- (BOOL) registerApplicationDictionary:(id)application;
+- (BOOL) installApplication:(id)application withOptions:(id)options;
+- (BOOL) _LSPrivateRebuildApplicationDatabasesForSystemApps:(BOOL)system internal:(BOOL)internal user:(BOOL)user;
+@end
+
 int main(int argc, const char *argv[]) {
     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];