Fixed a bug in updateTime:
[MenuTunes.git] / StatusWindowController.h
index 307975d..ea9faef 100755 (executable)
@@ -23,11 +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;
@@ -46,6 +63,8 @@ typedef enum {
 - (void)showPreferencesUpdateWindow;
 - (void)showDebugModeEnabledWindow;
 
+- (void)showAlbumArtWindowWithImage:(NSImage *)image;
+- (void)showAlbumArtWindowWithErrorText:(NSString *)string;
 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
                                title:            (NSString *)title
                                album:            (NSString *)album
@@ -57,6 +76,7 @@ typedef enum {
                            playCount:                   (int)playCount
                                image:             (NSImage *)art;
 
+- (StatusWindowType)currentStatusWindowType;
 - (void)updateTime:(NSString *)time;
 
 @end