5 // Created by local on 2/11/13.
9 #import <Foundation/Foundation.h>
10 #import <dispatch/dispatch.h>
14 @interface OTAServiceApp
: NSObject
17 NSString
* _manifest_file_name
;
18 NSString
* _asset_version_file_name
;
19 NSNumber
* _current_asset_version
;
20 NSNumber
* _next_asset_version
;
21 NSString
* _current_asset_directory
;
22 NSString
* _assets_directory
;
23 NSFileManager
* _fileManager
;
24 uid_t _uid
; /* user uid */
26 CFTimeInterval _asset_query_retry_interval
;
30 @
property (readonly
) NSArray
* file_list
;
31 @
property (readonly
) NSString
* manifest_file_name
;
32 @
property (readonly
) NSString
* asset_version_file_name
;
33 @
property (readonly
) NSNumber
* current_asset_version
;
34 @
property (readonly
) NSNumber
* next_asset_version
;
35 @
property (readonly
) NSString
* current_asset_directory
;
36 @
property (readonly
) NSString
* assets_directory
;
37 @
property (readonly
) NSFileManager
* fileManager
;
38 @
property (readonly
) uid_t uid
;
39 @
property (readonly
) gid_t gid
;
42 - (id
)init
:(int)argc withArguments
:(const char**)argv
;
44 - (void)checkInWithActivity
;