X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/3a1a21d1ea3e060f88ca1d24ea881f3ccb97640c..93a60b6d98f84d592631266e1ee0caabe3642551:/StatusWindowController.h?ds=sidebyside diff --git a/StatusWindowController.h b/StatusWindowController.h index 01f36f3..307975d 100755 --- a/StatusWindowController.h +++ b/StatusWindowController.h @@ -14,9 +14,7 @@ #import #import "ITMTRemote.h" - - -@class StatusWindow; +#import "StatusWindow.h" typedef enum { @@ -29,6 +27,7 @@ typedef enum { @interface StatusWindowController : NSObject { StatusWindow *_window; NSUserDefaults *df; + NSRange _timeRange; } + (StatusWindowController *)sharedController; @@ -39,15 +38,25 @@ 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 album: (NSString *)album artist: (NSString *)artist + composer: (NSString *)composer time: (NSString *)time // FLOW: Should probably be NSDate or something. track: (NSString *)track - rating: (int)rating; + rating: (int)rating + playCount: (int)playCount + image: (NSImage *)art; +- (void)updateTime:(NSString *)time; @end