StatusWindowRepeatTrack
} StatusWindowRepeatMode;
+typedef enum {
+ StatusWindowNoType = -1,
+ StatusWindowTrackInfoType,
+ StatusWindowAlbumArtType,
+ StatusWindowUpcomingSongsType,
+ StatusWindowVolumeType,
+ StatusWindowRatingType,
+ StatusWindowRepeatType,
+ StatusWindowShuffleType,
+ StatusWindowShufflabilityType,
+ StatusWindowSetupType,
+ StatusWindowNetworkType,
+ StatusWindowPreferencesType,
+ StatusWindowDebugType
+} StatusWindowType;
@interface StatusWindowController : NSObject {
StatusWindow *_window;
NSUserDefaults *df;
+ NSRange _timeRange;
+ StatusWindowType _currentType;
}
+ (StatusWindowController *)sharedController;
- (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)showAlbumArtWindowWithImage:(NSImage *)image;
+- (void)showAlbumArtWindowWithErrorText:(NSString *)string;
- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
title: (NSString *)title
album: (NSString *)album
playCount: (int)playCount
image: (NSImage *)art;
+- (StatusWindowType)currentStatusWindowType;
+- (void)updateTime:(NSString *)time;
@end