X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/d6c5534acee4d543ee2c08b279b416ea69de42d8..276579746a9cbe94b358155d6eb1aff0b07760a0:/StatusWindowController.h?ds=inline diff --git a/StatusWindowController.h b/StatusWindowController.h index 5819e78..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 @@ -51,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