#import <Cocoa/Cocoa.h>
#import "ITMTRemote.h"
-
-
-@class StatusWindow;
+#import "StatusWindow.h"
typedef enum {
- StatusWindowRepeatNone,
+ StatusWindowRepeatNone = -1,
StatusWindowRepeatGroup,
- StatusWindowRepeatSong
+ StatusWindowRepeatTrack
} StatusWindowRepeatMode;
NSUserDefaults *df;
}
++ (StatusWindowController *)sharedController;
+
- (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
- (void)showVolumeWindowWithLevel:(float)level;
-- (void)showRatingWindowWithRating:(int)rating;
+- (void)showRatingWindowWithRating:(float)rating;
- (void)showShuffleWindow:(BOOL)shuffle;
- (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
- (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
- time: (NSString *)time
- trackNumber: (int)trackNumber
- trackTotal: (int)trackTotal
- rating: (int)rating;
+ composer: (NSString *)composer
+ time: (NSString *)time // FLOW: Should probably be NSDate or something.
+ track: (NSString *)track
+ rating: (int)rating
+ playCount: (int)playCount
+ image: (NSImage *)art;
@end