summaryrefslogtreecommitdiff
path: root/uicache.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-06-25 22:47:35 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-06-25 22:56:12 -0700
commita830525c19d764ecf22b8e4dde996928268bf6e9 (patch)
treea2b984a3eda4151a35d52bf3dfc7e6205a8b5657 /uicache.mm
parent71b6516daec193c1eb13aa0030ff866301b17e0d (diff)
Port build to cycc (from Telesphoreo/iPhone-API).
Diffstat (limited to 'uicache.mm')
-rw-r--r--uicache.mm12
1 files changed, 10 insertions, 2 deletions
diff --git a/uicache.mm b/uicache.mm
index 05bf391..e5235f2 100644
--- a/uicache.mm
+++ b/uicache.mm
@@ -46,8 +46,6 @@
#include <objc/runtime.h>
-#include <MobileCoreServices/LSApplicationWorkspace.h>
-
#include "csstore.hpp"
@interface NSMutableArray (Cydia)
@@ -83,6 +81,16 @@
@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];