X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/93f1f93114865d18b5870f04763c921ff33b8e59..c56d57f54a2e787ef6ca12f070ad8b48789b7d7a:/StatusWindowController.h diff --git a/StatusWindowController.h b/StatusWindowController.h index ccf3d8a..2cf440b 100755 --- a/StatusWindowController.h +++ b/StatusWindowController.h @@ -1,15 +1,52 @@ -/* StatusWindowController */ +/* + * MenuTunes + * StatusWindowController + * Abstraction layer between MainController and StatusWindow + * + * Original Author : Matthew Judy + * Responsibility : Matthew Judy + * + * Copyright (c) 2003 iThink Software. + * All Rights Reserved + * + */ + #import +#import "ITMTRemote.h" + @class StatusWindow; -@interface StatusWindowController : NSObject -{ - IBOutlet NSTextField *statusField; - IBOutlet StatusWindow *statusWindow; + +typedef enum { + StatusWindowRepeatNone, + StatusWindowRepeatGroup, + StatusWindowRepeatSong +} StatusWindowRepeatMode; + + +@interface StatusWindowController : NSObject { + StatusWindow *_window; + NSUserDefaults *df; } -- (void)setUpcomingSongs:(NSString *)string numSongs:(int)songs; -- (void)setTrackInfo:(NSString *)string lines:(int)lines; -- (void)fadeWindowOut; + +- (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings; + +- (void)showVolumeWindowWithLevel:(float)level; +- (void)showRatingWindowWithRating:(int)rating; +- (void)showShuffleWindow:(BOOL)shuffle; +- (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode; +- (void)showSetupQueryWindow; + +- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source + title: (NSString *)title + album: (NSString *)album + artist: (NSString *)artist + time: (NSString *)time + trackNumber: (int)trackNumber + trackTotal: (int)trackTotal + rating: (int)rating; + + @end