/*
* MenuTunes
- * AudioscrobblerController
- * Audioscrobbler Support Class
+ * AudioscrobblerController.h
*
- * Original Author : Kent Sutherland <kent.sutherland@ithinksw.com>
- * Responsibility : Kent Sutherland <kent.sutherland@ithinksw.com>
+ * Audioscrobbler Support Class.
*
- * Copyright (c) 2005 iThink Software.
- * All Rights Reserved
+ * Copyright (c) 2005 iThink Software
*
*/
@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;