00001
00002
00003
00004
00005
00006
00007 #import "NSObject.h"
00008
00009 @class ITSyncFileLocker;
00010
00011 @interface ITSyncHelper : NSObject
00012 {
00013 struct __CFArray *_observers;
00014 struct __CFSet *_observersBlockingSyncs;
00015 unsigned int _observersBlockingSyncsAreWaiting:1;
00016 unsigned int _syncingBlockedBySB:1;
00017 unsigned int _syncProgressState;
00018 ITSyncFileLocker *_flocker;
00019 ITSyncFileLocker *_flockerWaitingForSyncEnd;
00020 }
00021
00022 + (id)helper;
00023 - (id)_init;
00024 - (void)dealloc;
00025 - (void)postNotificationToiTunes:(struct __CFString *)fp8;
00026 - (void)registerObserver:(id)fp8;
00027 - (void)unregisterObserver:(id)fp8;
00028 - (BOOL)_alreadyBlockingSyncs;
00029 - (BOOL)_waitingForFilelock;
00030 - (BOOL)iTunesIsSyncing;
00031 - (BOOL)isSyncingBlockedBySB;
00032 - (void)_noteSBUnblockedSyncing;
00033 - (void)_noteSyncFinished;
00034 - (void)_noteSyncFailed;
00035 - (void)_noteSyncTerminatedAbnormally;
00036 - (void)_noteSyncWillStart;
00037 - (void)_generateSyncEndedAbnormally;
00038 - (void)_generateSyncEndedNormally;
00039 - (void)_noteSyncDidStart;
00040 - (void)_postNotificationForAcquiringLockfileIgnoreingObserver:(id)fp8;
00041 - (BOOL)tryToBlockSyncForRegisteredObserver:(id)fp8 threadedWaitIfNecessary:(BOOL)fp12;
00042 - (void)unblockSyncForRegisteredObserver:(id)fp8;
00043 - (void)syncFileLockerDidAcquireLock:(id)fp8;
00044 - (void)_releaseLockDueNotificationPostFailure:(id)fp8;
00045 - (void)_postDistNoteWithName:(id)fp8;
00046
00047 @end
00048