X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8cd402b5d3e43c95046af7ac0e4cb3cde2d622bc..34a2a6ce5cce484c5b8dcd413efa1181130fbab0:/StatusWindowController.h diff --git a/StatusWindowController.h b/StatusWindowController.h index b192d36..ea9faef 100755 --- a/StatusWindowController.h +++ b/StatusWindowController.h @@ -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; @@ -38,6 +55,7 @@ typedef enum { - (void)showRatingWindowWithRating:(float)rating; - (void)showShuffleWindow:(BOOL)shuffle; - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode; +- (void)showSongShufflabilityWindow:(BOOL)shufflable; - (void)showSetupQueryWindow; - (void)showRegistrationQueryWindow; - (void)showReconnectQueryWindow; @@ -45,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 @@ -56,6 +76,7 @@ typedef enum { playCount: (int)playCount image: (NSImage *)art; +- (StatusWindowType)currentStatusWindowType; - (void)updateTime:(NSString *)time; @end