]> git.cameronkatri.com Git - snaprestore.git/blobdiff - src/snaprestore.m
Don't use an include directory
[snaprestore.git] / src / snaprestore.m
index deda1bc55916e39dafd80e27bedefaa2ba095273..23b20c8dacd3196900cb4a21ffd959546bc90e6a 100644 (file)
@@ -1,9 +1,15 @@
 #import <Foundation/Foundation.h>
 #import <Foundation/NSFileManager.h>
-#import <IOKit/IOKitLib.h>
 #import <sys/snapshot.h>
 #import <getopt.h>
 
+typedef char io_string_t[512];
+typedef mach_port_t io_object_t;
+typedef io_object_t io_registry_entry_t;
+io_registry_entry_t IORegistryEntryFromPath(mach_port_t master, const io_string_t path);
+CFTypeRef IORegistryEntryCreateCFProperty(io_registry_entry_t entry, CFStringRef key, CFAllocatorRef allocator, uint32_t options);
+kern_return_t IOObjectRelease(io_object_t object);
+
 @interface LSApplicationWorkspace : NSObject
 + (id)defaultWorkspace;
 - (BOOL)_LSPrivateRebuildApplicationDatabasesForSystemApps:(BOOL)arg1 internal:(BOOL)arg2 user:(BOOL)arg3;