10 #include <CoreFoundation/CoreFoundation.h> 11 #import <Foundation/Foundation.h> 16 #ifndef ASYNCEXC_ENABLED 17 #define ASYNCEXC_ENABLED true 20 #ifndef ASYNCEXC_DEBUG 25 #ifndef ASYNCEXC_ASSERT 27 #define ASYNCEXC_ASSERT(condition, desc) 32 #define ASYNCEXC_RECONCILE_MINTIMEINTERVAL 10 34 #define ASYNCEXC_RECONCILE_MINTIMEINTERVAL 3 37 #ifndef ASYNCEXC_LOG_ENABLED 45 #ifdef ASYNCEXC_LOG_ENABLED 46 #define ASYNCEXC_LOG(message, ...) NSLog((@"ASYNCEXC: csfid %s [ln %d] [th %@] [self %p] " message), \ 47 __PRETTY_FUNCTION__, __LINE__, [NSThread currentThread], self, ## __VA_ARGS__); 49 #define ASYNCEXC_LOG(message, ...) 54 #define DEFERRED_EXECUTION_ERROR_DOMAIN @"deferred execution" 57 #define DEFERRED_EXECUTION_ERROR_CODE 100100 58 #define DEFERRED_EXECUTION_ERROR_CODE_FAILED_TO_DEFER 100101 59 #define DEFERRED_EXECUTION_ERROR_CODE_DEFERRED_INBOX_IS_FULL 100102 60 #define DEFERRED_EXECUTION_ERROR_CODE_FAILE_TO_DOWNLOAD 100103 61 #define DEFERRED_EXECUTION_ERROR_CODE_CLIENT_CACHE_LOST 100104 63 #define DEFERRED_EXECUTION_COMP @"AsyncExecution" 65 #define DEFER_EXEC_BASEMESSAGEID_PREFIX @"DEFEREXEC_BASEMESSAGEID_" 82 -(void) deferExecCandidateReport:(
MSIReportDisplayInfo*)report statusChanged:(NSNumber*)deferExecCandidateReportStatusValue ;
85 -(void) setDeferredExecution:(
bool)isDeferredExecution;
98 +(bool) isDeferredExecution:(
id) handler;
101 +(void) deferExecCandidateReport:(
MSIReportDisplayInfo*)report statusChanged2:(NSNumber*)deferExecCandidateReportStatusValue handler:(
id) handler;
104 +(
MSTRError*) createMSTRErrorWithCode:(
int)errorCode errMsg:(NSString*) errMsg;
105 +(
MSTRError*) createMSTRErrorWithError:(
id)error;
106 +(
MSTRError*) createMSTRErrorWithErrorInfoAttDict:(NSDictionary *)attributeDict;
112 -(void) cancelForDefferedExecution:(
MSTRError **)err;
Definition: DeferExecCommon.h:110
Definition: MSIReportDisplayInfo.h:91
_DeferExecCandidateReportStatus
Definition: DeferExecCommon.h:72
Definition: DeferExecCommon.h:76
Definition: MSTRError.h:19
Definition: DeferExecCommon.h:80
Definition: DeferExecCommon.h:73
bool isDeferExecSupported()
Definition: DeferExecCommon.h:88
Definition: DeferExecCommon.h:74
Definition: DeferExecCommon.h:75
Definition: MSIProjectInfo.h:17
bool isDeferredExecution()
Definition: DeferExecCommon.h:77
NSString * deferExecStoreHome()
enum _DeferExecCandidateReportStatus DeferExecCandidateReportStatus