Fixed a bug in updateTime:
[MenuTunes.git] / StatusWindowController.h
index 118ca38..ea9faef 100755 (executable)
@@ -23,10 +23,28 @@ typedef enum {
     StatusWindowRepeatTrack
 } StatusWindowRepeatMode;
 
+typedef enum {
+       StatusWindowNoType = -1,
+       StatusWindowTrackInfoType,
+       StatusWindowAlbumArtType,
+       StatusWindowUpcomingSongsType,
+       StatusWindowVolumeType,
+       StatusWindowRatingType,
+       StatusWindowRepeatType,
+       StatusWindowShuffleType,
+       StatusWindowShufflabilityType,
+       StatusWindowSetupType,
+       StatusWindowRegistrationType,
+       StatusWindowNetworkType,
+       StatusWindowPreferencesType,
+       StatusWindowDebugType
+} StatusWindowType;
 
 @interface StatusWindowController : NSObject {
     StatusWindow   *_window;
     NSUserDefaults *df;
+       NSRange _timeRange;
+       StatusWindowType _currentType;
 }
 
 + (StatusWindowController *)sharedController;
@@ -37,12 +55,16 @@ typedef enum {
 - (void)showRatingWindowWithRating:(float)rating;
 - (void)showShuffleWindow:(BOOL)shuffle;
 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
+- (void)showSongShufflabilityWindow:(BOOL)shufflable;
 - (void)showSetupQueryWindow;
 - (void)showRegistrationQueryWindow;
 - (void)showReconnectQueryWindow;
 - (void)showNetworkErrorQueryWindow;
 - (void)showPreferencesUpdateWindow;
+- (void)showDebugModeEnabledWindow;
 
+- (void)showAlbumArtWindowWithImage:(NSImage *)image;
+- (void)showAlbumArtWindowWithErrorText:(NSString *)string;
 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
                                title:            (NSString *)title
                                album:            (NSString *)album
@@ -54,5 +76,7 @@ typedef enum {
                            playCount:                   (int)playCount
                                image:             (NSImage *)art;
 
+- (StatusWindowType)currentStatusWindowType;
+- (void)updateTime:(NSString *)time;
 
 @end