X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/6162e11fb9ec9ca0f4add4d5838e98a31ead4a21..71ca8f780ad1fb4238e5649e84accdfab6b4ad59:/StatusWindowController.h diff --git a/StatusWindowController.h b/StatusWindowController.h index 118ca38..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,11 +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 @@ -54,5 +73,7 @@ typedef enum { playCount: (int)playCount image: (NSImage *)art; +- (StatusWindowType)currentStatusWindowType; +- (void)updateTime:(NSString *)time; @end