Implemented toggling main interface in iTunesRemote
[MenuTunes.git] / StatusWindowController.h
index 2cf440b..a3c36ea 100755 (executable)
 
 #import <Cocoa/Cocoa.h>
 #import "ITMTRemote.h"
 
 #import <Cocoa/Cocoa.h>
 #import "ITMTRemote.h"
-
-
-@class StatusWindow;
+#import "StatusWindow.h"
 
 
 typedef enum {
 
 
 typedef enum {
-    StatusWindowRepeatNone,
+    StatusWindowRepeatNone = -1,
     StatusWindowRepeatGroup,
     StatusWindowRepeatGroup,
-    StatusWindowRepeatSong
+    StatusWindowRepeatTrack
 } StatusWindowRepeatMode;
 
 
 } StatusWindowRepeatMode;
 
 
@@ -31,22 +29,27 @@ typedef enum {
     NSUserDefaults *df;
 }
 
     NSUserDefaults *df;
 }
 
++ (StatusWindowController *)sharedController;
+
 - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
 
 - (void)showVolumeWindowWithLevel:(float)level;
 - (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)showShuffleWindow:(BOOL)shuffle;
 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
 - (void)showSetupQueryWindow;
+- (void)showRegistrationQueryWindow;
+- (void)showReconnectQueryWindow;
+- (void)showPreferencesUpdateWindow;
 
 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
                                title:            (NSString *)title
                                album:            (NSString *)album
                               artist:            (NSString *)artist
 
 - (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;
+                                time:            (NSString *)time  // FLOW: Should probably be NSDate or something.
+                               track:            (NSString *)track
+                              rating:                   (int)rating
+                               image:             (NSImage *)art;
 
 
 @end
 
 
 @end