Reset the screen that the status window is on when the system's screens change.
[MenuTunes.git] / AudioscrobblerController.h
index 78cfdb3..2e7f436 100644 (file)
@@ -1,13 +1,10 @@
 /*
  *     MenuTunes
 /*
  *     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
  *
  */
 
  *
  */
 
@@ -23,16 +20,18 @@ typedef enum {
 
 @interface AudioscrobblerController : NSObject {
        BOOL _handshakeCompleted;
 
 @interface AudioscrobblerController : NSObject {
        BOOL _handshakeCompleted;
+       int _handshakeAttempts;
        AudioscrobblerStatus _currentStatus;
        NSMutableArray *_tracks, *_submitTracks;
        NSDate *_delayDate;
        
        AudioscrobblerStatus _currentStatus;
        NSMutableArray *_tracks, *_submitTracks;
        NSDate *_delayDate;
        
-       NSString *_md5Challenge;
+       NSString *_md5Challenge, *_lastStatus;
        NSURL *_postURL;
        NSMutableData *_responseData;
 }
 + (AudioscrobblerController *)sharedController;
 
        NSURL *_postURL;
        NSMutableData *_responseData;
 }
 + (AudioscrobblerController *)sharedController;
 
+- (NSString *)lastStatus;
 - (void)attemptHandshake;
 - (void)attemptHandshake:(BOOL)force;
 - (BOOL)handshakeCompleted;
 - (void)attemptHandshake;
 - (void)attemptHandshake:(BOOL)force;
 - (BOOL)handshakeCompleted;