X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/50485da2e6ae0642e4dfb55ef4c0556ed6ef2a80..ba95bdd1193aefaac80e1f1f6d3956733ce0f3bd:/StatusWindowController.h diff --git a/StatusWindowController.h b/StatusWindowController.h index c0ec9eb..18443dc 100755 --- a/StatusWindowController.h +++ b/StatusWindowController.h @@ -23,10 +23,27 @@ typedef enum { StatusWindowRepeatTrack } StatusWindowRepeatMode; +typedef enum { + StatusWindowNoType = -1, + StatusWindowTrackInfoType, + 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,10 +54,13 @@ 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)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source title: (NSString *)title @@ -50,7 +70,10 @@ typedef enum { time: (NSString *)time // FLOW: Should probably be NSDate or something. track: (NSString *)track rating: (int)rating + playCount: (int)playCount image: (NSImage *)art; +- (StatusWindowType)currentStatusWindowType; +- (void)updateTime:(NSString *)time; @end