X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/97a58d16b59657d99b396a9d7e3ef2eadb357fa8..f78882a24de62e51f69362bdd12a972654f5d62f:/StatusWindowController.h diff --git a/StatusWindowController.h b/StatusWindowController.h index 804c090..a57c128 100755 --- a/StatusWindowController.h +++ b/StatusWindowController.h @@ -14,42 +14,40 @@ #import #import "ITMTRemote.h" +#import "StatusWindow.h" -@class StatusWindow; - - -typedef enum { - MTStatusWindowLoopModeLoopNone, - MTStatusWindowLoopModeLoopOne, - MTStatusWindowLoopModeLoopAll -} MTStatusWindowLoopMode; - typedef enum { - MTStatusWindowShuffleModeOn, - MTStatusWindowShuffleModeOff -} MTStatusWindowShuffleMode; + StatusWindowRepeatNone = -1, + StatusWindowRepeatGroup, + StatusWindowRepeatTrack +} StatusWindowRepeatMode; @interface StatusWindowController : NSObject { - StatusWindow *_window; + StatusWindow *_window; NSUserDefaults *df; } -- (void)showSongWindowWithTitle: (NSString *)title - album: (NSString *)album - artist: (NSString *)artist - time: (NSString *)time // FLOW: Should probably be NSDate or something. - trackNumber: (int)trackNumber - trackTotal: (int)trackTotal - rating: (int)rating - source:(ITMTRemotePlayerSource)source; - -- (void)showUpcomingSongsWithTitles:(NSArray *)titleStrings; - -- (void)showVolumeWindowWithLevel:(int)level; -- (void)showRatingWindowWithLevel:(int)level; -- (void)showShuffleWindowWithMode:(MTStatusWindowShuffleMode)mode; -- (void)showLoopWindowWithMode:(MTStatusWindowLoopMode)mode; ++ (StatusWindowController *)sharedController; + +- (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings; + +- (void)showVolumeWindowWithLevel:(float)level; +- (void)showRatingWindowWithRating:(float)rating; +- (void)showShuffleWindow:(BOOL)shuffle; +- (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode; +- (void)showSetupQueryWindow; +- (void)showRegistrationQueryWindow; +- (void)showReconnectQueryWindow; + +- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source + title: (NSString *)title + album: (NSString *)album + artist: (NSString *)artist + time: (NSString *)time // FLOW: Should probably be NSDate or something. + track: (NSString *)track + rating: (int)rating; + @end