diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-06-25 22:47:35 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-06-25 22:56:12 -0700 |
commit | a830525c19d764ecf22b8e4dde996928268bf6e9 (patch) | |
tree | a2b984a3eda4151a35d52bf3dfc7e6205a8b5657 /uicache.mm | |
parent | 71b6516daec193c1eb13aa0030ff866301b17e0d (diff) |
Port build to cycc (from Telesphoreo/iPhone-API).
Diffstat (limited to 'uicache.mm')
-rw-r--r-- | uicache.mm | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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]; |