X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/dc0ea78f6dcf17f7b124af1ae4c563d2c2520ae3..a2891d12899c1160b9fcd9b9b195d7d8ee354cb7:/AudioscrobblerController.h?ds=sidebyside diff --git a/AudioscrobblerController.h b/AudioscrobblerController.h index 78cfdb3..2e7f436 100644 --- a/AudioscrobblerController.h +++ b/AudioscrobblerController.h @@ -1,13 +1,10 @@ /* * MenuTunes - * AudioscrobblerController - * Audioscrobbler Support Class + * AudioscrobblerController.h * - * Original Author : Kent Sutherland - * Responsibility : Kent Sutherland + * Audioscrobbler Support Class. * - * Copyright (c) 2005 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 iThink Software * */ @@ -23,16 +20,18 @@ typedef enum { @interface AudioscrobblerController : NSObject { BOOL _handshakeCompleted; + int _handshakeAttempts; AudioscrobblerStatus _currentStatus; NSMutableArray *_tracks, *_submitTracks; NSDate *_delayDate; - NSString *_md5Challenge; + NSString *_md5Challenge, *_lastStatus; NSURL *_postURL; NSMutableData *_responseData; } + (AudioscrobblerController *)sharedController; +- (NSString *)lastStatus; - (void)attemptHandshake; - (void)attemptHandshake:(BOOL)force; - (BOOL)handshakeCompleted;