X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/259ae5fac769954c7db5974b86e791a929fe6700..780eb8412d27bba1eaaf0a03ab74f90c62f28253:/AudioscrobblerController.h?ds=sidebyside diff --git a/AudioscrobblerController.h b/AudioscrobblerController.h index 7daddea..a2dc6c4 100644 --- a/AudioscrobblerController.h +++ b/AudioscrobblerController.h @@ -24,15 +24,17 @@ typedef enum { @interface AudioscrobblerController : NSObject { BOOL _handshakeCompleted; AudioscrobblerStatus _currentStatus; - NSMutableArray *_tracks; + 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; - (void)submitTrack:(NSString *)title artist:(NSString *)artist album:(NSString *)album length:(int)length;