Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
/*
* Generated by class-dump 3.3.3 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard.
*/
#pragma mark Typedef'd Structures
typedef struct {
unsigned int _field1[8];
} CDStruct_6ad76789;
typedef struct {
long long _field1;
id _field2;
id _field3;
} CDStruct_1b4a36b4;
#pragma mark -
/*
* File: /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeagent
* UUID: 63AB9091-D288-5985-FB8A-CD6C885B4A71
* Arch: Intel x86-64 (x86_64)
*
* Objective-C Garbage Collection: Unsupported
*/
@protocol DialogDelegate <NSObject>
@optional
- (void)dialog:(id)arg1 dismissedWithButtonIndex:(long long)arg2;
- (void)dialog:(id)arg1 failedWithError:(id)arg2;
@end
@protocol DownloadQueueSourceDelegate <NSObject>
- (void)downloadQueueSourceChangedFirstReadyDownload:(id)arg1;
@end
@protocol ISAuthenticationChallengeOperationDelegate
- (void)authOperation:(id)arg1 didFinishWithOutput:(id)arg2;
@optional
- (void)forgotPassword;
- (void)createNewAccount;
- (void)signOut;
- (void)authOperation:(id)arg1 wasCanceledWithInfo:(id)arg2;
@end
@protocol ISDialogOperationDelegate <ISOperationDelegate>
@optional
- (void)operation:(id)arg1 selectedButton:(id)arg2;
@end
@protocol ISOperationDelegate <NSObject>
@optional
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (void)operation:(id)arg1 updatedProgress:(id)arg2;
- (void)operationFinished:(id)arg1;
@end
@protocol ISSingleton <NSObject>
+ (id)sharedInstance;
+ (void)setSharedInstance:(id)arg1;
@end
@protocol ISStoreURLOperationDelegate <ISURLOperationDelegate>
@optional
- (void)operation:(id)arg1 didAuthenticateWithDSID:(id)arg2;
- (BOOL)operation:(id)arg1 shouldSetStoreFrontID:(id)arg2;
@end
@protocol ISURLOperationDelegate <ISOperationDelegate>
@optional
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)operation:(id)arg1 didReceiveResponse:(id)arg2;
- (void)operation:(id)arg1 willSendRequest:(id)arg2;
@end
@protocol MoveAssetsDelegate <ISOperationDelegate>
@optional
- (id)metadataFileNameForMoveAssetsOperation:(id)arg1;
- (void)moveAssetsOperation:(id)arg1 didMoveAsset:(id)arg2 toPath:(id)arg3;
- (id)moveAssetsOperation:(id)arg1 fileNameForAsset:(id)arg2;
@end
@protocol NSCoding
- (void)encodeWithCoder:(id)arg1;
- (id)initWithCoder:(id)arg1;
@end
@protocol NSObject
- (BOOL)isEqual:(id)arg1;
- (unsigned long long)hash;
- (Class)superclass;
- (Class)class;
- (id)self;
- (struct _NSZone *)zone;
- (id)performSelector:(SEL)arg1;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (BOOL)isProxy;
- (BOOL)isKindOfClass:(Class)arg1;
- (BOOL)isMemberOfClass:(Class)arg1;
- (BOOL)conformsToProtocol:(id)arg1;
- (BOOL)respondsToSelector:(SEL)arg1;
- (id)retain;
- (oneway void)release;
- (id)autorelease;
- (unsigned long long)retainCount;
- (id)description;
@end
@protocol NSURLAuthenticationChallengeSender <NSObject>
- (void)useCredential:(id)arg1 forAuthenticationChallenge:(id)arg2;
- (void)continueWithoutCredentialForAuthenticationChallenge:(id)arg1;
- (void)cancelAuthenticationChallenge:(id)arg1;
@end
@protocol NSXMLParserDelegate <NSObject>
@optional
- (void)parserDidStartDocument:(id)arg1;
- (void)parserDidEndDocument:(id)arg1;
- (void)parser:(id)arg1 foundNotationDeclarationWithName:(id)arg2 publicID:(id)arg3 systemID:(id)arg4;
- (void)parser:(id)arg1 foundUnparsedEntityDeclarationWithName:(id)arg2 publicID:(id)arg3 systemID:(id)arg4 notationName:(id)arg5;
- (void)parser:(id)arg1 foundAttributeDeclarationWithName:(id)arg2 forElement:(id)arg3 type:(id)arg4 defaultValue:(id)arg5;
- (void)parser:(id)arg1 foundElementDeclarationWithName:(id)arg2 model:(id)arg3;
- (void)parser:(id)arg1 foundInternalEntityDeclarationWithName:(id)arg2 value:(id)arg3;
- (void)parser:(id)arg1 foundExternalEntityDeclarationWithName:(id)arg2 publicID:(id)arg3 systemID:(id)arg4;
- (void)parser:(id)arg1 didStartElement:(id)arg2 namespaceURI:(id)arg3 qualifiedName:(id)arg4 attributes:(id)arg5;
- (void)parser:(id)arg1 didEndElement:(id)arg2 namespaceURI:(id)arg3 qualifiedName:(id)arg4;
- (void)parser:(id)arg1 didStartMappingPrefix:(id)arg2 toURI:(id)arg3;
- (void)parser:(id)arg1 didEndMappingPrefix:(id)arg2;
- (void)parser:(id)arg1 foundCharacters:(id)arg2;
- (void)parser:(id)arg1 foundIgnorableWhitespace:(id)arg2;
- (void)parser:(id)arg1 foundProcessingInstructionWithTarget:(id)arg2 data:(id)arg3;
- (void)parser:(id)arg1 foundComment:(id)arg2;
- (void)parser:(id)arg1 foundCDATA:(id)arg2;
- (id)parser:(id)arg1 resolveExternalEntityName:(id)arg2 systemID:(id)arg3;
- (void)parser:(id)arg1 parseErrorOccurred:(id)arg2;
- (void)parser:(id)arg1 validationErrorOccurred:(id)arg2;
@end
@protocol RequestQueueOperation <NSObject>
- (id)clientIdentity;
- (id)copyResponseDictionary;
- (id)requestIdentifier;
- (void)setRequestIdentifier:(id)arg1;
@end
@protocol UpdateQueueSourceDelegate <NSObject>
- (void)updateQueueSourceChanged:(id)arg1;
- (void)updateQueueSource:(id)arg1 failedWithError:(id)arg2;
@end
@interface ServerDispatch : NSObject
{
NSTimer *_shutdownTimer;
struct __CFMessagePort *_portRef;
NSMutableDictionary *_portsNPids;
NSNumber *_clientPID;
NSString *_clientPortName;
}
+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (id)_handleMessageID:(int)arg1 withData:(id)arg2;
- (void)sendResponse:(id)arg1 userInfo:(id)arg2 toClient:(id)arg3;
- (void)_createPort;
@end
@interface StoreServicesRequestQueue : RequestQueue <ISSingleton>
{
id _purchaseDelegate;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
- (void)addDownloadsUsingManifestWithInfo:(id)arg1 identity:(id)arg2;
- (void)addPurchasesWithInfo:(id)arg1 identity:(id)arg2;
- (void)addURLRequestWithInfo:(id)arg1 identity:(id)arg2;
- (void)addDistributionRequestWithInfo:(id)arg1 identity:(id)arg2;
- (void)fetchReceiptWithInfo:(id)arg1 identity:(id)arg2;
- (void)cancelRequestWithInfo:(id)arg1 identity:(id)arg2;
- (void)sendError:(id)arg1 forOperation:(id)arg2;
- (void)sendResponseForOperation:(id)arg1;
@property id purchaseDelegate; // @synthesize purchaseDelegate=_purchaseDelegate;
@end
@interface DownloadQueueClient : NSObject
{
NSSet *_downloadKinds;
NSString *_targetIdentifier;
ClientIdentity *_identity;
}
- (void)dealloc;
@property(retain, nonatomic) ClientIdentity *identity; // @synthesize identity=_identity;
@property(retain, nonatomic) NSString *targetIdentifier; // @synthesize targetIdentifier=_targetIdentifier;
@property(retain, nonatomic) NSSet *downloadKinds; // @synthesize downloadKinds=_downloadKinds;
@end
@interface DownloadQueue : NSObject <DownloadQueueSourceDelegate, ISOperationDelegate, ISSingleton>
{
id _downloadDelegate;
Download *_activeDownload;
NSMutableArray *_clients;
DownloadErrorHandler *_errorHandler;
DownloadManifest *_manifest;
BOOL _isSynching;
NSArray *_sources;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (BOOL)addDownloads:(id)arg1;
- (void)cancelDownload:(id)arg1 userInitiated:(BOOL)arg2;
- (BOOL)_runCancelConfirmDialogForDownload:(id)arg1;
- (void)_informServerThatUserCanceledDownload:(id)arg1;
- (BOOL)checkManifest;
- (void)_setDownloadsToPaused:(id)arg1;
- (BOOL)checkQueue;
- (id)copyDownloads;
- (id)downloadForIdentifier:(unsigned long long)arg1;
@property(readonly, nonatomic, getter=isActive) BOOL active;
- (void)mergeInQueueResponse:(id)arg1 forIdentifier:(unsigned long long)arg2;
- (BOOL)pauseDownload:(id)arg1;
- (void)removeDownloads:(id)arg1;
- (BOOL)resumeDownload:(id)arg1;
- (BOOL)retryFailedDownloads;
- (BOOL)startFirstReadyDownload;
- (BOOL)addDownloadWithInfo:(id)arg1;
- (void)pauseDownloadWithInfo:(id)arg1;
- (void)checkQueuesWithInfo:(id)arg1;
- (void)registerObserverWithInfo:(id)arg1 client:(id)arg2;
- (void)removeDownloadWithInfo:(id)arg1;
- (void)resumeDownloadWithInfo:(id)arg1;
- (void)handleDockPauseResumeMessage:(id)arg1;
- (void)handleDockCancelDownloadMessage:(id)arg1;
- (void)_networkTypeChanged:(id)arg1;
- (void)_triggerDownloadsNotification:(id)arg1;
- (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4;
- (void)downloadQueueSourceChangedFirstReadyDownload:(id)arg1;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (void)operation:(id)arg1 updatedProgress:(id)arg2;
- (void)operationFinished:(id)arg1;
- (void)_pauseDownloadWithIdentifier:(id)arg1;
- (void)_resumeDownloadWithIdentifier:(id)arg1;
- (id)_copyDefaultSources;
- (id)_copyDownloadsForKinds:(id)arg1;
- (void)_handleDownloadsChange:(id)arg1 forSource:(id)arg2;
- (id)_manifest;
- (void)_notifyClientsAboutDownloadsChange:(id)arg1 forSource:(id)arg2;
- (void)_sendAdditions:(id)arg1 toClient:(id)arg2;
- (void)_sendDownloadListToClient:(id)arg1;
- (void)sendDownloadListToDock;
- (void)tellDockToAddDownload:(id)arg1;
- (void)_sendDownloads:(id)arg1 toClient:(id)arg2;
- (void)_sendIndexNotification:(id)arg1 forDownloads:(id)arg2 toClient:(id)arg3;
- (void)_sendRemovalsToDock:(id)arg1;
- (void)_sendRemovals:(id)arg1 toClient:(id)arg2;
- (void)_sendReplacements:(id)arg1 toClient:(id)arg2;
- (void)_sendStatusUpdateForDownload:(id)arg1;
- (void)_sendDockStatus:(id)arg1 forDownload:(id)arg2;
- (void)_startWatchingSources;
- (void)_stopWatchingSources;
- (void)_updateManifest;
- (void)_updatePendingPurchaseTypes;
@property(readonly) NSArray *sources; // @synthesize sources=_sources;
@property id delegate; // @synthesize delegate=_downloadDelegate;
@property(retain, nonatomic) Download *activeDownload; // @synthesize activeDownload=_activeDownload;
@end
@interface RequestQueue : NSObject <ISOperationDelegate>
{
NSMutableDictionary *_operationsByIdentifier;
}
- (void)dealloc;
- (void)cancelRequestWithIdentifier:(id)arg1;
- (void)enqueueRequestOperation:(id)arg1;
- (void)sendError:(id)arg1 forOperation:(id)arg2;
- (void)sendResponseForOperation:(id)arg1;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (void)operationFinished:(id)arg1;
@end
@interface DialogManagerDialog : NSObject
{
id <DialogDelegate> _delegate;
ISDialog *_dialog;
struct __CFRunLoopSource *_runLoopSource;
struct __CFUserNotification *_userNotification;
}
- (void)dealloc;
- (void)cancel;
- (void)finishWithResponseFlags:(unsigned long long)arg1;
- (void)show;
@property(readonly, nonatomic) struct __CFUserNotification *userNotification; // @synthesize userNotification=_userNotification;
@property(retain, nonatomic) ISDialog *dialog; // @synthesize dialog=_dialog;
@property(nonatomic) id <DialogDelegate> delegate; // @synthesize delegate=_delegate;
@end
@interface DialogManager : NSObject <ISSingleton>
{
NSMutableArray *_queue;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
+ (BOOL)checkInDialog:(id)arg1;
+ (void)checkOutDialog:(id)arg1;
- (void)dealloc;
- (void)cancelDialog:(id)arg1;
- (void)clearDelegate:(id)arg1;
- (void)presentDialog:(id)arg1 withDelegate:(id)arg2;
- (void)_userNotificationDidFinish:(struct __CFUserNotification *)arg1 withResponseFlags:(unsigned long long)arg2;
@end
@interface DownloadArtworkOperation : ISStoreURLOperation
{
unsigned long long _identifier;
NSString *_targetIdentifier;
}
- (void)dealloc;
@property(retain, nonatomic) NSString *targetIdentifier; // @synthesize targetIdentifier=_targetIdentifier;
@property(nonatomic) unsigned long long identifier; // @synthesize identifier=_identifier;
@end
@interface DownloadArtworkCache : NSObject <ISSingleton, ISStoreURLOperationDelegate>
{
ISURLOperationPool *_imagePool;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
- (void)dealloc;
- (void)requestArtworkWithInfo:(id)arg1 client:(id)arg2;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)_enqueueOperation:(id)arg1;
- (void)_enqueueRequestForIdentifier:(unsigned long long)arg1 URL:(id)arg2 client:(id)arg3;
- (void)_enqueueRequestForItem:(unsigned long long)arg1 client:(id)arg2;
- (void)_sendFailureForItem:(unsigned long long)arg1 client:(id)arg2;
- (void)_sendFailureForURL:(id)arg1 client:(id)arg2;
@end
@interface DownloadErrorHandler : NSObject <DialogDelegate>
{
NSMutableArray *_pendingDialogs;
}
- (void)dealloc;
- (void)handleError:(id)arg1 forDownload:(id)arg2;
@property(readonly, nonatomic) BOOL hasActiveDialogs;
- (BOOL)promptToRetryDownload:(id)arg1 afterError:(id)arg2;
- (void)dialog:(id)arg1 dismissedWithButtonIndex:(long long)arg2;
- (void)dialog:(id)arg1 failedWithError:(id)arg2;
- (void)_cancelAllDialogs;
- (void)_handleTooBigForNetworkError:(id)arg1 forDownload:(id)arg2;
- (void)_retryDialog:(id)arg1 dismissedWithButtonIndex:(long long)arg2;
- (void)_showDialog:(id)arg1;
@end
@interface MessageServerReceiver : NSObject
{
MessageServer *_messageServer;
}
- (void)dealloc;
- (void)runWithMessageServer:(id)arg1;
- (id)_addDownload:(id)arg1 userInfo:(id)arg2;
- (id)_getAccountAuthenticated:(id)arg1 userInfo:(id)arg2;
- (void)_addDownloadsUsingManifest:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_addPurchases:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_addPaymentRequest:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_addURLRequest:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_cancelStoreKitRequest:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_checkInPaymentClient:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_checkOutPaymentClient:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_finishPayment:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_registerDownloadQueueClient:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_registerUpdateQueueClient:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_requestArtwork:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_requestStoreKitProducts:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
- (void)_restoreStoreKitCompletedTransactions:(id)arg1 userInfo:(id)arg2 auditToken:(CDStruct_6ad76789 *)arg3;
@end
@interface MessageServer : NSObject
{
id _receiver;
}
- (void)dealloc;
- (BOOL)start;
- (void)_accountSignOut:(id)arg1 userInfo:(id)arg2;
- (void)_addAccount:(id)arg1 userInfo:(id)arg2;
- (BOOL)_addDownloadWithUserInfo:(id)arg1;
- (void)_addDownloadsUsingManifest:(id)arg1 userInfo:(id)arg2 client:(id)arg3;
- (void)_addPurchases:(id)arg1 userInfo:(id)arg2 client:(id)arg3;
- (void)_addURLRequest:(id)arg1 userInfo:(id)arg2 client:(id)arg3;
- (void)_authenticateAccount:(id)arg1 userInfo:(id)arg2;
- (void)_cancelPreOrder:(id)arg1 userInfo:(id)arg2;
- (void)_checkDownloadQueues:(id)arg1 userInfo:(id)arg2;
- (void)_checkUpdateQueues:(id)arg1 userInfo:(id)arg2;
- (void)_commitAccounts:(id)arg1 userInfo:(id)arg2;
- (void)_pauseDownload:(id)arg1 userInfo:(id)arg2;
- (void)_registerAccountClient:(id)arg1 userInfo:(id)arg2;
- (void)_registerDownloadQueueClient:(id)arg1 userInfo:(id)arg2 client:(id)arg3;
- (void)_registerUpdateQueue:(id)arg1 userInfo:(id)arg2;
- (void)_registerUpdateQueueClient:(id)arg1 userInfo:(id)arg2 client:(id)arg3;
- (void)_removeAccount:(id)arg1 userInfo:(id)arg2;
- (void)_removeDownload:(id)arg1 userInfo:(id)arg2;
- (void)_resumeDownload:(id)arg1 userInfo:(id)arg2;
- (void)_scheduleReview:(id)arg1 userInfo:(id)arg2;
@end
@interface UpdateQueueClient : NSObject
{
NSString *_queueIdentifier;
NSString *_targetIdentifier;
ClientIdentity *_identity;
}
- (void)dealloc;
@property(retain, nonatomic) ClientIdentity *identity; // @synthesize identity=_identity;
@property(retain, nonatomic) NSString *targetIdentifier; // @synthesize targetIdentifier=_targetIdentifier;
@property(retain, nonatomic) NSString *queueIdentifier; // @synthesize queueIdentifier=_queueIdentifier;
@end
@interface UpdateQueue : NSObject <ISSingleton, UpdateQueueSourceDelegate>
{
NSMutableArray *_clients;
id _delegate;
BOOL _failedForSlowNetwork;
NSMutableArray *_sources;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
+ (id)nextAutomaticCheckDate;
- (id)init;
- (void)dealloc;
- (BOOL)checkQueues;
@property(readonly, nonatomic, getter=isActive) BOOL active;
- (BOOL)performAutomaticCheckIfNeeded;
- (void)registerClientWithInfo:(id)arg1 identity:(id)arg2;
- (void)registerQueueWithInfo:(id)arg1;
- (void)updateQueueSourceChanged:(id)arg1;
- (void)updateQueueSource:(id)arg1 failedWithError:(id)arg2;
- (void)_networkTypeChanged:(id)arg1;
- (id)_copyClientsForSource:(id)arg1;
- (void)_sendError:(id)arg1 toClientsFromSource:(id)arg2;
- (void)_sendUpdatesToClientsFromSource:(id)arg1;
- (id)_sourceForIdentifier:(id)arg1;
@property id delegate; // @synthesize delegate=_delegate;
@end
@interface ClientIdentity : NSObject
{
BOOL _appleSigned;
NSString *_bundleIdentifier;
NSString *_path;
long long _pid;
NSString *_portname;
unsigned int _valid:1;
}
+ (id)identityForAuditToken:(CDStruct_6ad76789 *)arg1;
+ (id)identityForPID:(id)arg1 portname:(id)arg2;
+ (id)_identityForPath:(id)arg1 auditToken:(CDStruct_6ad76789 *)arg2;
+ (id)_bundleIdentifierForPID:(id)arg1;
- (id)init;
- (void)dealloc;
@property(nonatomic, getter=isAppleSigned) BOOL appleSigned;
@property(nonatomic, getter=isValid) BOOL valid;
@property(retain, nonatomic) NSString *portname; // @synthesize portname=_portname;
@property(nonatomic) long long pid; // @synthesize pid=_pid;
@property(retain, nonatomic) NSString *path; // @synthesize path=_path;
@property(retain, nonatomic) NSString *bundleIdentifier; // @synthesize bundleIdentifier=_bundleIdentifier;
@end
@interface ClientObserver : NSObject <ISSingleton>
{
NSMutableSet *_clientIdentifiers;
NSLock *_lock;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (BOOL)clientIsCheckedIn:(id)arg1;
- (id)urlSchemeForAmbiguousURL:(id)arg1;
- (void)_clientStartedListening:(id)arg1;
- (void)_clientStoppedListening:(id)arg1;
@end
@interface PurchaseDownloadPlaceholder : Download <NSCoding>
{
}
- (id)initWithCoder:(id)arg1;
- (id)initWithPurchase:(id)arg1;
- (void)cleanup;
- (void)encodeWithCoder:(id)arg1;
- (BOOL)isPlaceholder;
- (BOOL)isReady;
@end
@interface ManifestDownloadPlaceholder : Download <NSCoding>
{
BOOL _resumeWhenPossible;
}
- (id)initWithCoder:(id)arg1;
- (id)initWithManifestRepresentation:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
- (BOOL)isPlaceholder;
- (BOOL)isReady;
@property BOOL resumeWhenPossible; // @synthesize resumeWhenPossible=_resumeWhenPossible;
@end
@interface Download : NSObject <NSCoding>
{
NSNumber *_accountDSID;
NSArray *_assets;
NSString *_iTunesSafeGUID;
NSLock *_lock;
SSDownloadMetadata *_metadata;
long long _destructiveFailureCount;
DownloadQueueSource *_source;
SSDownloadStatus *_status;
NSString *_installPath;
NSString *_cancelURLString;
BOOL _cancelled;
}
+ (BOOL)ensureDirectoriesExist;
+ (id)copyDownloadFromManifestRepresentation:(id)arg1;
- (id)init;
- (id)initWithDictionary:(id)arg1;
- (id)initWithCoder:(id)arg1;
- (void)dealloc;
- (void)encodeWithCoder:(id)arg1;
- (void)cleanup;
- (void)cleanupAfterDestructiveFailure;
- (id)copyITunesSafeGUID;
- (id)copyManifestRepresentation;
- (void)resetBeforeRetry;
- (void)resetStatus;
@property(readonly) BOOL shouldRetryAfterDestructiveFailure;
- (BOOL)allowsDevSigned;
- (void)cacheReceiptDataToDisk;
@property(readonly) BOOL isAnUpdate;
@property(retain) NSArray *assets;
- (id)copyClientDownload;
- (id)copyStatus;
@property(readonly) NSString *downloadKind;
@property(retain) NSError *failureError;
@property(readonly) NSString *fileNameBase;
- (id)firstAssetForType:(long long)arg1;
@property(getter=isFailed) BOOL failed;
@property(getter=isPaused) BOOL paused;
@property(getter=isCancelled) BOOL cancelled; // @synthesize cancelled=_cancelled;
@property(readonly, getter=isPlaceholder) BOOL placeholder;
@property(readonly, getter=isReady) BOOL ready;
@property(retain) SSDownloadMetadata *metadata;
@property(readonly) NSString *purchaseDate; // @dynamic purchaseDate;
@property(readonly) unsigned long long minimumNetworkType;
@property(copy) SSOperationProgress *progress;
@property(readonly) SSDownloadAsset *primaryAsset;
@property(readonly) unsigned long long purchaseTypes;
- (id)_copyGUID:(BOOL)arg1;
- (void)_setAssets:(id)arg1 updateFileName:(BOOL)arg2;
- (void)_setGUID:(id)arg1;
- (void)_setMetadata:(id)arg1 updateFileName:(BOOL)arg2;
@property(retain) NSString *cancelURLString; // @synthesize cancelURLString=_cancelURLString;
@property(retain) NSString *installPath; // @synthesize installPath=_installPath;
@property DownloadQueueSource *source; // @synthesize source=_source;
@property(retain) NSNumber *accountDSID; // @synthesize accountDSID=_accountDSID;
@end
@interface DownloadSinf : NSObject
{
NSDictionary *_info;
}
- (id)init;
- (id)initWithDictionary:(id)arg1;
- (void)dealloc;
@property(readonly) NSData *dpInfo;
@property(readonly) long long identifier;
@property(readonly) NSData *pinf;
@property(readonly) NSData *sinf;
@property(readonly) NSData *sinf2;
@end
@interface DownloadDRM : NSObject
{
NSArray *_sinfs;
}
- (id)init;
- (id)initWithSinfArray:(id)arg1;
- (void)dealloc;
- (id)sinfForIdentifier:(long long)arg1;
@property(readonly) NSArray *sinfs; // @synthesize sinfs=_sinfs;
@end
@interface HiddenDownloadManifest : NSObject
{
BOOL _changedDuringTransaction;
NSString *_defaultsKey;
NSMutableSet *_downloads;
long long _transactionCount;
}
- (id)initWithDefaultsKey:(id)arg1;
- (void)dealloc;
- (void)addDownload:(id)arg1;
- (void)beginTransaction;
- (void)commitTransaction;
- (BOOL)downloadIsHidden:(id)arg1;
- (void)filterUsingDownloads:(id)arg1;
- (void)removeDownload:(id)arg1;
@end
@interface DownloadManifest : NSObject
{
}
- (id)copyDownloads:(char *)arg1;
- (BOOL)writeDownloads:(id)arg1;
- (id)_manifestDictionaryReturningStyle:(int *)arg1;
- (id)_path;
- (id)_activeDownloadCookiePath;
- (id)_visibleDownloadCookiePath;
@end
@interface DownloadQueueSource : NSObject <ISURLOperationDelegate>
{
id <DownloadQueueSourceDelegate> _delegate;
NSMutableArray *_downloads;
NSData *_keybag;
NSMutableArray *_preorders;
}
- (void)dealloc;
- (BOOL)addDownloads:(id)arg1;
- (BOOL)cancelDownload:(id)arg1;
- (BOOL)canHandleDownload:(id)arg1;
- (BOOL)checkQueue;
- (id)downloadForIdentifier:(unsigned long long)arg1;
- (id)firstReadyDownload;
@property(readonly, nonatomic, getter=isActive) BOOL active;
- (void)mergeInFullQueueResponse:(id)arg1 pauseNewDownloads:(BOOL)arg2;
- (void)networkTypeChangedFromType:(unsigned long long)arg1 toType:(unsigned long long)arg2;
@property(readonly, nonatomic) unsigned long long pendingPurchaseTypes;
- (BOOL)removeDownload:(id)arg1;
- (BOOL)removeDownloadsAtIndexes:(id)arg1;
- (BOOL)replaceDownload:(id)arg1 withDownloads:(id)arg2;
- (void)resetFailedDownloads;
@property(retain, nonatomic) NSArray *downloads; // @synthesize downloads=_downloads;
@property(retain, nonatomic) NSArray *preorders; // @synthesize preorders=_preorders;
- (BOOL)transferPreOrdersWithIdentifier:(unsigned long long)arg1;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)_fetchIconAndAddToDockForDownload:(id)arg1;
- (BOOL)_copyMergedDownloads:(id *)arg1 preOrders:(id *)arg2 fromDownloads:(id)arg3 pauseNewDownloads:(BOOL)arg4;
- (id)_copyNewDownloadsFromDownloads:(id)arg1 ignoringDownload:(id)arg2;
- (BOOL)_download:(id)arg1 isInArray:(id)arg2 ignoringDownload:(id)arg3;
- (BOOL)_replaceDownloadAtIndex:(unsigned long long)arg1 withDownload:(id)arg2;
@property(retain) NSData *keybag; // @synthesize keybag=_keybag;
@property(nonatomic) id <DownloadQueueSourceDelegate> delegate; // @synthesize delegate=_delegate;
@end
@interface CipherDataElement : NSObject
{
NSMutableString *_characterBuffer;
NSString *_sinfID;
NSString *_uri;
}
- (void)dealloc;
- (void)handleCharacters:(id)arg1;
- (void)handleElementEndWithName:(id)arg1 namespaceURI:(id)arg2;
- (void)handleElementStartWithName:(id)arg1 namespaceURI:(id)arg2 attributes:(id)arg3;
@property(readonly, getter=isValid) BOOL valid;
@property(readonly) NSString *URI; // @synthesize URI=_uri;
@property(readonly) NSString *sinfID; // @synthesize sinfID=_sinfID;
@end
@interface EncryptedFileReference : NSObject
{
NSString *_sinfID;
NSString *_uri;
}
- (id)initWithCipherDataElement:(id)arg1;
- (void)dealloc;
@property(readonly) NSString *URI; // @synthesize URI=_uri;
@property(readonly) NSString *sinfID; // @synthesize sinfID=_sinfID;
@end
@interface EncryptedFileManifest : NSObject <NSXMLParserDelegate>
{
NSMutableArray *_elementStack;
NSMutableArray *_fileReferences;
}
- (id)init;
- (id)initWithData:(id)arg1 error:(id *)arg2;
- (void)dealloc;
- (void)parser:(id)arg1 didEndElement:(id)arg2 namespaceURI:(id)arg3 qualifiedName:(id)arg4;
- (void)parser:(id)arg1 didStartElement:(id)arg2 namespaceURI:(id)arg3 qualifiedName:(id)arg4 attributes:(id)arg5;
- (void)parser:(id)arg1 foundCharacters:(id)arg2;
@property(readonly) NSArray *fileReferences; // @synthesize fileReferences=_fileReferences;
@end
@interface ExternalDownloadManifest : NSObject
{
NSArray *_invalidDownloads;
NSArray *_validDownloads;
}
- (id)init;
- (id)initWithPropertyList:(id)arg1;
- (void)dealloc;
@property(readonly) NSArray *invalidDownloads;
@property(readonly) NSArray *validDownloads;
- (BOOL)_parsePropertyList:(id)arg1;
@end
@interface LongLivedObjectStore : NSObject <ISSingleton>
{
NSMutableSet *_objects;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
- (void)dealloc;
- (void)logDebugInformation:(id)arg1;
@property(readonly, nonatomic, getter=isActive) BOOL active;
- (void)addObject:(id)arg1;
- (BOOL)containsObject:(id)arg1;
- (void)removeObject:(id)arg1;
@end
@interface PreOrderManifest : NSObject <ISSingleton>
{
NSMutableSet *_identifiers;
NSLock *_lock;
}
+ (void)setSharedInstance:(id)arg1;
+ (id)sharedInstance;
- (void)dealloc;
- (BOOL)commit;
- (void)addIdentifier:(unsigned long long)arg1;
- (BOOL)containsIdentifier:(unsigned long long)arg1;
- (void)removeIdentifier:(unsigned long long)arg1;
- (void)cancelPreOrderWithInfo:(id)arg1;
- (id)_identifiers;
- (void)_loadFromDefaults;
@end
@interface PurchaseManifest : NSObject
{
long long _assetType;
NSMutableDictionary *_dictionary;
}
+ (void)jetsam;
+ (id)manifestForDownload:(id)arg1;
- (id)initWithAssetType:(long long)arg1;
- (void)dealloc;
- (void)addPendingDownload:(id)arg1;
- (void)addPendingDownloads:(id)arg1;
- (void)addCompletedDownload:(id)arg1;
- (id)_copyAssetDictionaryForDownload:(id)arg1;
- (id)_dictionary;
- (void)jetsam;
- (id)_path;
- (BOOL)_writeToFile;
@property(readonly) long long assetType; // @synthesize assetType=_assetType;
@end
@interface SoftwareUpdate : NSObject
{
NSDictionary *_dictionary;
long long _state;
}
- (id)initWithCacheRepresentation:(id)arg1;
- (id)initWithDictionary:(id)arg1;
- (void)dealloc;
- (id)copyCacheRepresentation;
@property(readonly, nonatomic, getter=isNewerThanInstalled) BOOL newerThanInstalled;
@property(readonly, nonatomic) NSNumber *itemIdentifier;
- (BOOL)_checkVersionOrdering;
- (id)_copyStoreOffer;
@property(readonly, nonatomic) ISSoftwareApplication *_installedApplication;
@property(readonly, nonatomic) NSNumber *_versionIdentifier;
@property(readonly, nonatomic) NSArray *_versionOrdering;
- (long long)sortByName:(id)arg1;
@property(nonatomic) long long softwareUpdateState; // @synthesize softwareUpdateState=_state;
@property(readonly, nonatomic) NSDictionary *dictionary; // @synthesize dictionary=_dictionary;
@end
@interface StoreDownloadQueueResponse : NSObject
{
NSArray *_downloads;
NSData *_keybag;
NSArray *_rangesToLoad;
BOOL _triggeredQueueCheck;
}
- (id)initWithDictionary:(id)arg1 userIdentifier:(id)arg2;
- (void)dealloc;
- (id)_newDownloadsFromItems:(id)arg1 withDSID:(id)arg2;
@property BOOL triggeredQueueCheck; // @synthesize triggeredQueueCheck=_triggeredQueueCheck;
@property(retain) NSArray *rangesToLoad; // @synthesize rangesToLoad=_rangesToLoad;
@property(retain) NSData *keybag; // @synthesize keybag=_keybag;
@property(retain) NSArray *downloads; // @synthesize downloads=_downloads;
@end
@interface StoreDownloadQueueSource : DownloadQueueSource <ISURLOperationDelegate>
{
HiddenDownloadManifest *_hiddenDownloads;
ISOperation *_operation;
long long _type;
}
- (id)initWithType:(long long)arg1;
- (void)dealloc;
- (BOOL)loadPendingDownloadsWithReason:(long long)arg1 forAccountIdentifiers:(id)arg2;
- (BOOL)addDownloads:(id)arg1;
- (BOOL)cancelDownload:(id)arg1;
- (BOOL)canHandleDownload:(id)arg1;
- (BOOL)checkQueue;
- (id)firstReadyDownload;
- (void)networkTypeChangedFromType:(unsigned long long)arg1 toType:(unsigned long long)arg2;
@property(retain, nonatomic) ISOperation *operation; // @synthesize operation=_operation;
- (void)operationFinished:(id)arg1;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (CDStruct_1b4a36b4)_configuration;
- (id)_copyUserIdentifiersForDownloads;
- (id)_copyVisibleDownloadsForDownloads:(id)arg1;
- (void)_handleCheckQueueResponse:(id)arg1;
- (void)_handleLoadQueueResponse:(id)arg1;
- (id)_hiddenDownloads;
- (void)_hideAllKnownDownloads;
- (id)_newCheckQueueOperation;
- (id)_newLoadQueueOperation;
@property(readonly) long long type; // @synthesize type=_type;
@end
@interface UpdateQueueSource : NSObject <ISOperationDelegate>
{
NSMutableArray *_cachedUpdates;
id <UpdateQueueSourceDelegate> _delegate;
NSString *_identifier;
BOOL _isLoaded;
LoadUpdateQueueOperation *_loadOperation;
NSMutableArray *_updates;
NSURL *_url;
NSString *_urlBagKey;
}
- (id)initWithIdentifier:(id)arg1;
- (void)dealloc;
- (BOOL)checkQueue;
- (void)operation:(id)arg1 failedWithError:(id)arg2;
- (void)operationFinished:(id)arg1;
- (void)_downloadFinished:(id)arg1;
- (void)_downloadQueueChanged:(id)arg1;
- (id)_cachePath;
- (id)_copyCachedUpdates;
- (unsigned long long)_numberOfVisibleUpdates;
- (void)_reloadUpdateStates;
- (BOOL)_removeUpdateWithItemIdentifier:(unsigned long long)arg1;
- (void)_setApplicationBadge:(unsigned long long)arg1;
- (void)_updateCache;
@property(retain, nonatomic) NSString *urlBagKey; // @synthesize urlBagKey=_urlBagKey;
@property(retain, nonatomic) NSURL *url; // @synthesize url=_url;
@property(readonly, nonatomic) NSArray *updates; // @synthesize updates=_updates;
@property(readonly, nonatomic, getter=isLoaded) BOOL loaded; // @synthesize loaded=_isLoaded;
@property(retain, nonatomic) NSString *identifier; // @synthesize identifier=_identifier;
@property(nonatomic) id <UpdateQueueSourceDelegate> delegate; // @synthesize delegate=_delegate;
@end
@interface SoftwareUpdatesProvider : ISDataProvider
{
}
- (BOOL)parseData:(id)arg1 returningError:(id *)arg2;
- (id)_copyUpdatesFromItems:(id)arg1;
@end
@interface AuthenticateOperation : ISOperation <ISStoreURLOperationDelegate, NSURLAuthenticationChallengeSender, ISAuthenticationChallengeOperationDelegate>
{
ISAccount *_account;
long long _bagType;
ISStoreAuthenticationChallenge *_challenge;
ISAuthenticationContext *_context;
ISURLOperation *_loadOperation;
}
+ (BOOL)shouldOfferRetryForError:(id)arg1;
- (id)initWithAuthenticationContext:(id)arg1;
- (void)dealloc;
- (id)authenticatedAccountDSID;
- (void)run;
- (id)uniqueKey;
- (void)cancelAuthenticationChallenge:(id)arg1;
- (void)continueWithoutCredentialForAuthenticationChallenge:(id)arg1;
- (void)useCredential:(id)arg1 forAuthenticationChallenge:(id)arg2;
- (void)authOperation:(id)arg1 didFinishWithOutput:(id)arg2;
- (void)_handleAuthResponseOutput:(id)arg1;
- (id)_account;
- (id)_challenge;
- (id)_copyQueryParametersForAccount:(id)arg1;
- (void)forgotPassword;
- (void)createNewAccount;
- (void)signOut;
- (void)_sendClientToURLForAction:(id)arg1;
- (id)_errorForPropertyList:(id)arg1;
- (void)_postError:(id)arg1 forDSID:(id)arg2;
- (void)_postSuccessForDSID:(id)arg1;
- (void)_runAuthenticationChallenge;
- (void)_runLoadOperationForAccount:(id)arg1;
- (BOOL)_shouldTryAgainForError:(id)arg1;
@property(readonly, retain) ISAuthenticationContext *context; // @synthesize context=_context;
@property(retain) ISStoreAuthenticationChallenge *challenge; // @synthesize challenge=_challenge;
@property(retain) ISAccount *account; // @synthesize account=_account;
@end
@interface CheckDownloadQueueOperation : ISOperation
{
NSSet *_failedUserIdentifiers;
NSString *_urlBagKey;
NSSet *_userIdentifiersToCheck;
NSSet *_userIdentifiersWithDownloads;
long long _downloadQueueItemCount;
}
- (void)dealloc;
- (void)run;
- (BOOL)_getHaveDownloads:(char *)arg1 forUserID:(id)arg2 returningError:(id *)arg3;
@property(readonly) long long downloadQueueItemCount; // @synthesize downloadQueueItemCount=_downloadQueueItemCount;
@property(retain) NSSet *userIdentifiersWithDownloads; // @synthesize userIdentifiersWithDownloads=_userIdentifiersWithDownloads;
@property(retain) NSSet *userIdentifiers; // @synthesize userIdentifiers=_userIdentifiersToCheck;
@property(retain) NSString *urlBagKey; // @synthesize urlBagKey=_urlBagKey;
@property(retain) NSSet *failedUserIdentifiers; // @synthesize failedUserIdentifiers=_failedUserIdentifiers;
@end
@interface ClientURLOperation : ISOperation <RequestQueueOperation>
{
ClientIdentity *_clientIdentity;
NSString *_requestIdentifier;
NSURLRequest *_urlRequest;
}
- (id)init;
- (id)initWithRequestDictionary:(id)arg1;
- (void)dealloc;
- (id)copyResponseDictionary;
- (void)run;
@property(retain) NSString *requestIdentifier; // @synthesize requestIdentifier=_requestIdentifier;
@property(retain) ClientIdentity *clientIdentity; // @synthesize clientIdentity=_clientIdentity;
@end
@interface LoadDownloadQueueOperation : ISOperation <ISStoreURLOperationDelegate>
{
NSArray *_downloads;
NSData *_keybag;
NSMutableArray *_rangesToLoad;
long long _reason;
NSString *_urlBagKey;
NSSet *_userIdentifiers;
}
- (id)init;
- (void)dealloc;
- (void)run;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (id)_copyMergedDownloadsFromDownloads:(id)arg1;
- (BOOL)_loadDownloadsFromStart:(id)arg1 toEnd:(id)arg2 forDSID:(id)arg3;
- (void)_runForDSID:(id)arg1;
- (BOOL)_shouldSendKeyBagSyncForDSID:(id)arg1;
@property(retain) NSSet *userIdentifiers; // @synthesize userIdentifiers=_userIdentifiers;
@property(retain) NSString *urlBagKey; // @synthesize urlBagKey=_urlBagKey;
@property long long reason; // @synthesize reason=_reason;
@property(retain) NSData *keybag; // @synthesize keybag=_keybag;
@property(retain) NSArray *downloads; // @synthesize downloads=_downloads;
// Remaining properties
@property id <ISOperationDelegate> delegate; // @dynamic delegate;
@end
@interface LoadExternalDownloadManifestOperation : ISOperation <RequestQueueOperation>
{
ClientIdentity *_clientIdentity;
ExternalDownloadManifest *_manifest;
NSString *_requestIdentifier;
NSURLRequest *_urlRequest;
}
- (void)dealloc;
- (void)run;
- (id)copyResponseDictionary;
- (id)_archivedResponseData;
- (BOOL)_handleResponseForOperation:(id)arg1 error:(id *)arg2;
- (BOOL)_runWithURLRequest:(id)arg1 error:(id *)arg2;
@property(retain) NSURLRequest *URLRequest; // @synthesize URLRequest=_urlRequest;
@property(retain) NSString *requestIdentifier; // @synthesize requestIdentifier=_requestIdentifier;
@property(retain) ExternalDownloadManifest *manifest; // @synthesize manifest=_manifest;
@property(retain) ClientIdentity *clientIdentity; // @synthesize clientIdentity=_clientIdentity;
@end
@interface LoadUpdateQueueOperation : ISOperation <ISStoreURLOperationDelegate>
{
NSArray *_updates;
NSURL *_url;
NSString *_urlBagKey;
}
- (id)init;
- (void)dealloc;
- (void)run;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (id)_copyApplicationDictionariesForApplications:(id)arg1;
- (id)_getAccountsStringForApplications:(id)arg1;
@property(retain) NSString *urlBagKey; // @synthesize urlBagKey=_urlBagKey;
@property(retain) NSURL *url; // @synthesize url=_url;
@property(retain) NSArray *updates; // @synthesize updates=_updates;
@end
@interface PostRatingOperation : ISOperation
{
unsigned long long _itemIdentifier;
float _rating;
unsigned long long _versionIdentifier;
}
+ (void)_accountAuthorizedNotification:(id)arg1;
+ (void)performScheduledRatings;
+ (BOOL)scheduleRatingWithInfo:(id)arg1;
+ (BOOL)scheduleRatingWithValue:(float)arg1 forItem:(unsigned long long)arg2 version:(unsigned long long)arg3;
+ (void)watchForAuthentication;
- (id)initWithRating:(float)arg1 forItem:(unsigned long long)arg2;
- (void)run;
@property unsigned long long versionIdentifier; // @synthesize versionIdentifier=_versionIdentifier;
@property float rating; // @synthesize rating=_rating;
@property unsigned long long itemIdentifier; // @synthesize itemIdentifier=_itemIdentifier;
@end
@interface PurchaseResponseInfo : NSObject
{
ISDialog *_dialog;
NSString *_changedBuyParameters;
}
- (void)dealloc;
- (void)reset;
@property(retain, nonatomic) NSString *changedBuyParameters; // @synthesize changedBuyParameters=_changedBuyParameters;
@property(retain, nonatomic) ISDialog *dialog; // @synthesize dialog=_dialog;
@end
@interface PurchaseOperation : ISOperation <ISDialogOperationDelegate, ISStoreURLOperationDelegate>
{
NSNumber *_accountDSID;
long long _bagType;
NSString *_buyParameters;
BOOL _displayedErrorDialog;
NSString *_httpMethod;
long long _postStyle;
NSDictionary *_rawOutput;
id _responseInfo;
BOOL _shouldSendKeyBagSyncData;
NSString *_urlBagKey;
}
- (id)init;
- (void)dealloc;
- (void)run;
- (void)operation:(id)arg1 didAuthenticateWithDSID:(id)arg2;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)operation:(id)arg1 selectedButton:(id)arg2;
- (id)_account;
- (void)_addKeyBagSyncDataForOperation:(id)arg1 accountID:(unsigned long long)arg2;
- (id)_copyQueryStringDictionary;
- (void)_handleFailureResponse:(id)arg1;
- (id)_requestBodyDataForBuyParameters:(id)arg1;
- (void)_runDialogOperationForDialog:(id)arg1;
- (void)_runPurchaseRequest;
- (BOOL)_shouldSendKeyBagSyncData;
- (BOOL)_shouldTryAgainForError:(id)arg1;
@property(retain) NSString *urlBagKey; // @synthesize urlBagKey=_urlBagKey;
@property BOOL shouldSendKeyBagSyncData; // @synthesize shouldSendKeyBagSyncData=_shouldSendKeyBagSyncData;
@property(retain) NSDictionary *rawOutput; // @synthesize rawOutput=_rawOutput;
@property(getter=HTTPPostStyle, setter=setHTTPPostStyle:) long long httpPostStyle; // @synthesize httpPostStyle=_postStyle;
@property(retain, getter=HTTPMethod, setter=setHTTPMethod:) NSString *httpMethod; // @synthesize httpMethod=_httpMethod;
@property BOOL displayedErrorDialog; // @synthesize displayedErrorDialog=_displayedErrorDialog;
@property(retain) NSString *buyParameters; // @synthesize buyParameters=_buyParameters;
@property long long bagType; // @synthesize bagType=_bagType;
@property(retain) NSNumber *accountDSID; // @synthesize accountDSID=_accountDSID;
@end
@interface StorePurchaseBatchOperation : ISOperation
{
ClientIdentity *_clientIdentity;
NSArray *_placeholderDownloads;
NSArray *_purchases;
}
- (id)initWithPurchases:(id)arg1;
- (void)dealloc;
- (id)copyPlaceholderDownloads;
- (void)run;
- (BOOL)_authenticateReturningError:(id *)arg1;
- (void)_cancelPurchasesWithError:(id)arg1;
- (id)_copyRingtonePurchasesForPurchases:(id)arg1;
- (void)_run;
- (void)_notePurchasesFailed:(id)arg1;
- (void)_notePurchasesFinished:(id)arg1 withDownloads:(id)arg2;
- (void)_runPurchaseOperations;
- (void)_sendError:(id)arg1 forPurchase:(id)arg2;
- (void)_sendPurchaseFailed:(id)arg1 withError:(id)arg2;
- (void)_sendPurchaseFinished:(id)arg1;
@property(retain) ClientIdentity *clientIdentity; // @synthesize clientIdentity=_clientIdentity;
@end
@interface StorePurchaseOperation : ISOperation
{
ClientIdentity *_clientIdentity;
BOOL _displayedErrorDialog;
NSArray *_downloads;
SSPurchase *_purchase;
BOOL _triggeredQueueCheck;
BOOL _shouldCancelPurchaseBatch;
NSString *_urlBagKey;
SSPurchaseResponse *_response;
}
- (id)initWithPurchase:(id)arg1;
- (void)dealloc;
@property(readonly) SSPurchase *purchase;
- (void)run;
- (void)run:(BOOL)arg1;
- (BOOL)_checkPreflightIfNecessary;
- (void)_addItemsToPreOrderManifest:(id)arg1;
- (void)_handleDefaultResponse:(id)arg1;
- (void)_handlePreOrderResponse:(id)arg1;
- (long long)_responseTypeForResponse:(id)arg1;
- (void)_runPurchaseOperation;
@property BOOL shouldCancelPurchaseBatch; // @synthesize shouldCancelPurchaseBatch=_shouldCancelPurchaseBatch;
@property(retain) SSPurchaseResponse *response; // @synthesize response=_response;
@property(retain) NSString *urlBagKey; // @synthesize urlBagKey=_urlBagKey;
@property BOOL triggeredQueueCheck; // @synthesize triggeredQueueCheck=_triggeredQueueCheck;
@property(retain) NSArray *downloads; // @synthesize downloads=_downloads;
@property BOOL displayedErrorDialog; // @synthesize displayedErrorDialog=_displayedErrorDialog;
@property(retain) ClientIdentity *clientIdentity; // @synthesize clientIdentity=_clientIdentity;
@end
@interface StorePurchaseRequestOperation : ISOperation <RequestQueueOperation>
{
ClientIdentity *_clientIdentity;
NSArray *_purchases;
NSString *_requestIdentifier;
}
- (id)init;
- (id)initWithRequestDictionary:(id)arg1;
- (void)dealloc;
- (id)copyResponseDictionary;
- (void)run;
- (void)_resetFailedDownloadsForPurchaseBatches:(id)arg1;
- (void)_addPlaceholdersForPurchaseBatches:(id)arg1;
- (id)_copyPurchasesGroupedByAccountIdentifier;
- (id)_newPurchaseBatchOperations;
- (void)_runPurchaseBatches:(id)arg1;
@property(retain) NSString *requestIdentifier; // @synthesize requestIdentifier=_requestIdentifier;
@property(retain) ClientIdentity *clientIdentity; // @synthesize clientIdentity=_clientIdentity;
@end
@interface ListPurchasedItemsOperation : ISOperation <ISStoreURLOperationDelegate>
{
NSDictionary *_rawOutput;
long long _bagType;
}
- (void)run;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
@property long long bagType; // @synthesize bagType=_bagType;
@property(readonly, retain) NSDictionary *rawOutput; // @synthesize rawOutput=_rawOutput;
@end
@interface FetchDistributionOperation : ISOperation <RequestQueueOperation>
{
NSString *_buyParameters;
Download *_download;
NSString *_requestIdentifier;
ClientIdentity *_clientIdentity;
id _purchaseDelegate;
}
- (id)initWithRequestDictionary:(id)arg1;
- (void)dealloc;
@property(readonly) NSURL *localDistributionFolder; // @dynamic localDistributionFolder;
- (void)run;
- (id)copyResponseDictionary;
@property id purchaseDelegate; // @synthesize purchaseDelegate=_purchaseDelegate;
@property(retain) ClientIdentity *clientIdentity; // @synthesize clientIdentity=_clientIdentity;
@property(retain) NSString *requestIdentifier; // @synthesize requestIdentifier=_requestIdentifier;
@property(retain) NSString *buyParameters; // @synthesize buyParameters=_buyParameters;
@end
@interface FetchItemMetadataOperation : PurchaseOperation
{
}
- (void)run;
- (void)operation:(id)arg1 didAuthenticateWithDSID:(id)arg2;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
@end
@interface AssetDownloadOperation : ISOperation <ISURLOperationDelegate>
{
SSDownloadAsset *_asset;
NSString *_displayTitle;
NSString *_downloadKey;
long long _retryCount;
NSData *_dpinfo;
}
+ (long long)operationType;
+ (id)operationWithAsset:(id)arg1;
- (id)init;
- (void)dealloc;
- (long long)progressWeight;
- (void)run;
- (void)operation:(id)arg1 didReceiveResponse:(id)arg2;
- (void)operationFinished:(id)arg1;
- (void)operation:(id)arg1 updatedProgress:(id)arg2;
- (id)_newURLOperation;
- (void)_run;
@property(retain) NSData *dpinfo; // @synthesize dpinfo=_dpinfo;
@property long long retryCount; // @synthesize retryCount=_retryCount;
@property(retain) NSString *downloadKey; // @synthesize downloadKey=_downloadKey;
@property(retain) NSString *displayTitle; // @synthesize displayTitle=_displayTitle;
@property(retain) SSDownloadAsset *asset; // @synthesize asset=_asset;
@end
@interface DecryptAssetOperation : DownloadSubOperation
{
}
- (void)run;
- (id)_copyDPInfo;
- (BOOL)_decryptWithDPInfo:(id)arg1 error:(id *)arg2;
- (BOOL)_renameAssetReturningError:(id *)arg1;
@end
@interface DownloadDoneOperation : DownloadSubOperation <ISStoreURLOperationDelegate>
{
}
+ (long long)operationType;
- (void)run;
- (double)earlyTimeRemainingEstimate;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
@end
@interface DownloadOperation : ISOperation <ISOperationDelegate>
{
Download *_download;
NSArray *_subOperations;
}
+ (id)operationWithDownload:(id)arg1;
+ (long long)operationType;
- (void)dealloc;
- (void)run;
- (void)operation:(id)arg1 updatedProgress:(id)arg2;
- (id)_copySubOperations;
- (BOOL)_downloadErrorIsTransient:(id)arg1;
- (void)_sendDownloadFinishedNotifications;
- (void)_createDownloadFolder;
@property(retain) NSArray *subOperations; // @synthesize subOperations=_subOperations;
@property(retain) Download *download; // @synthesize download=_download;
@end
@interface DownloadSubOperation : ISOperation
{
SSDownloadAsset *_asset;
Download *_download;
BOOL _shouldResetDownloadAfterFailure;
}
+ (long long)operationType;
+ (id)operationWithDownload:(id)arg1;
- (id)init;
- (void)dealloc;
@property BOOL shouldResetDownloadAfterFailure; // @synthesize shouldResetDownloadAfterFailure=_shouldResetDownloadAfterFailure;
@property(retain) Download *download; // @synthesize download=_download;
@property(retain) SSDownloadAsset *asset; // @synthesize asset=_asset;
@end
@interface ExtractAssetOperation : DownloadSubOperation <ISOperationDelegate>
{
}
- (void)run;
- (void)operationFinished:(id)arg1;
- (void)operation:(id)arg1 updatedProgress:(id)arg2;
@end
@interface FinalizeAssetsOperation : DownloadSubOperation
{
}
+ (long long)operationType;
- (void)run;
- (void)_run;
- (double)earlyTimeRemainingEstimate;
@end
@interface FinalizeEBookOperation : DownloadSubOperation <MoveAssetsDelegate>
{
}
+ (long long)operationType;
- (void)run;
- (id)metadataFileNameForMoveAssetsOperation:(id)arg1;
- (id)moveAssetsOperation:(id)arg1 fileNameForAsset:(id)arg2;
- (BOOL)_addDownloadToPurchaseManifestWithPath:(id)arg1;
- (id)_copyPurchaseManifestWithPath:(id)arg1;
- (id)_finalizedDirectoryName;
- (id)_finalizeExtractedDirectory;
- (id)_purchaseManifestPath;
- (void)_run;
- (BOOL)_writePurchaseManifest:(id)arg1 toPath:(id)arg2;
@end
@interface FinalizeMediaOperation : DownloadSubOperation <MoveAssetsDelegate>
{
}
+ (long long)operationType;
- (void)run;
- (void)moveAssetsOperation:(id)arg1 didMoveAsset:(id)arg2 toPath:(id)arg3;
- (void)_updateRentalsPlistWithPath:(id)arg1 title:(id)arg2;
- (void)_updateRingtonesPlistWithPath:(id)arg1 forDownload:(id)arg2;
@end
@interface FinalizeSoftwareOperation : DownloadSubOperation
{
}
+ (long long)operationType;
- (long long)progressWeight;
- (void)run;
@end
@interface MoveAssetsOperation : ISOperation
{
NSString *_destinationPath;
Download *_download;
}
- (id)init;
- (id)initWithDownload:(id)arg1;
- (void)dealloc;
- (void)run;
@property(readonly) Download *download; // @synthesize download=_download;
@property(retain) NSString *destinationPath; // @synthesize destinationPath=_destinationPath;
// Remaining properties
@property id <MoveAssetsDelegate> delegate; // @dynamic delegate;
@end
@interface ProcessArtworkOperation : DownloadSubOperation
{
}
- (void)run;
- (BOOL)_artworkNeedsOptimization;
@end
@interface ISQuitAppDialogOperation : ISDialogOperation
{
NSRunningApplication *_appToQuit;
}
+ (id)operationWithApp:(id)arg1 withAppToQuit:(id)arg2;
@property(retain) NSRunningApplication *appToQuit; // @synthesize appToQuit=_appToQuit;
@end
@interface SoftwareInstallOperation : DownloadSubOperation
{
PKInstallClient *_installClient;
BOOL _installFinished;
}
+ (long long)operationType;
+ (id)operationWithDownload:(id)arg1;
- (long long)progressWeight;
- (void)run;
- (void)dealloc;
- (double)earlyTimeRemainingEstimate;
@end
@interface FetchReceiptOperation : ISOperation <ISURLOperationDelegate, ISOperationDelegate>
{
NSString *_appPath;
NSString *_appleID;
}
+ (id)fetchReceiptOperationWithAppPath:(id)arg1;
- (id)_requestBodyDataForReceipt:(id)arg1;
- (id)_operationWithURLBagType:(long long)arg1 forceAuthentication:(BOOL)arg2;
- (void)_displayUserNotificationAlertWithTitle:(id)arg1;
- (id)initWithAppPath:(id)arg1;
- (void)dealloc;
- (void)run;
- (void)operation:(id)arg1 finishedWithOutput:(id)arg2;
- (void)operationFinished:(id)arg1;
@end
@interface ISOperationQueue (DownloadQueueAdditions)
+ (id)downloadQueue;
@end
@interface Download (ExternalManifestAdditions)
- (id)initWithExternalManifestRepresentation:(id)arg1;
- (BOOL)_handleDisplayImageExternalManifestAsset:(id)arg1;
- (BOOL)_handleSpecialExternalManifestAsset:(id)arg1;
- (BOOL)_setAssetsFromExternalManifestAssets:(id)arg1 error:(id *)arg2;
- (void)_setPropertiesFromExternalManifestRepresentation:(id)arg1 error:(id *)arg2;
@end
@interface ISAccountStore (Daemon)
- (void)addAccountWithInfo:(id)arg1;
- (void)commitAccountsWithInfo:(id)arg1;
- (void)registerObserverWithInfo:(id)arg1;
- (void)removeAccountWithInfo:(id)arg1;
- (void)sendAccountsToObserver:(id)arg1;
- (void)signInWithContext:(id)arg1;
- (void)signInWithInfo:(id)arg1;
@end
@interface ISNetworkObserver (Daemon)
- (void)sendActiveAssetTypes;
- (void)sendNetworkState:(BOOL)arg1 forAssetTypes:(id)arg2;
@end
@interface SSDownloadAsset (Daemon)
- (id)initWithManifestRepresentation:(id)arg1;
- (id)initWithExternalManifestRepresentation:(id)arg1 error:(id *)arg2;
- (id)copyManifestRepresentation;
- (id)copyProcessingOperationsForDownload:(id)arg1;
- (id)copySetupOperationsForDownload:(id)arg1;
- (long long)_assetTypeForExternalKind:(id)arg1;
- (BOOL)_md5ArrayIsValid:(id)arg1;
- (BOOL)_md5SizeIsValid:(id)arg1;
- (id)_newURLRequestForExternalManifestRepresentation:(id)arg1;
- (void)_setHashesFromExternalManifestRepresentation:(id)arg1;
@end
@interface SSDownloadMetadata (DaemonAdditions)
- (BOOL)setPropertiesFromExternalManifestRepresentation:(id)arg1 error:(id *)arg2;
- (id)_downloadKindForExternalKind:(id)arg1;
@end
@interface ISURLOperation (AuthenticationAdditions)
- (BOOL)addGUIDTokenForAccountID:(id)arg1;
@end
@interface FetchDistributionOperation (private)
- (void)_createDownloadFolder;
@end
@interface ISOperation (DownloadAdditions)
- (BOOL)shouldResetDownloadAfterFailure;
@end
@interface Download (OperationAdditions)
- (id)_copyCustomMetadataDictionaryFromDictionary:(id)arg1;
- (id)copyWritableMetadata;
@end
@interface SSDownloadMetadata (SoftwareInstallOperation)
- (BOOL)needsSoftwareInstallOperation;
@end
@interface PKInstallRequest (SoftwareInstallOperation)
- (void)setPrimaryAppPath:(id)arg1 forProductIdentifier:(id)arg2;
@end
@interface SoftwareInstallOperation (PKInstallClientDelegate)
- (void)installClientDidBegin:(id)arg1;
- (void)installClient:(id)arg1 currentState:(int)arg2 package:(id)arg3 progress:(double)arg4 timeRemaining:(double)arg5;
- (void)installClient:(id)arg1 didFailWithError:(id)arg2;
- (void)installClientDidFinish:(id)arg1;
@end
@interface SoftwareInstallOperation (private)
- (void)_run;
- (void)_ensureAppNotRunning;
- (void)_startInstall;
- (void)_setProgress:(long long)arg1;
- (BOOL)_verifyInstalledAppAtPath:(id)arg1 error:(id *)arg2;
- (void)_registerWidget;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment