:( It got the best of me... Removing NSLog I had for testing
[MenuTunes.git] / StatusWindowController.h
index 1b32e4a..2cf440b 100755 (executable)
@@ -1,27 +1,52 @@
 /*
  *     MenuTunes
  *  StatusWindowController
- *    ...
+ *    Abstraction layer between MainController and StatusWindow
  *
- *  Original Author : Kent Sutherland <ksuther@ithinksw.com>
- *   Responsibility : Kent Sutherland <ksuther@ithinksw.com>
+ *  Original Author : Matthew Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
  *
- *  Copyright (c) 2002 iThink Software.
+ *  Copyright (c) 2003 iThink Software.
  *  All Rights Reserved
  *
  */
 
 
 #import <Cocoa/Cocoa.h>
+#import "ITMTRemote.h"
+
 
 @class StatusWindow;
 
-@interface StatusWindowController : NSObject
-{
-    IBOutlet NSTextField *statusField;
-    IBOutlet StatusWindow *statusWindow;
+
+typedef enum {
+    StatusWindowRepeatNone,
+    StatusWindowRepeatGroup,
+    StatusWindowRepeatSong
+} StatusWindowRepeatMode;
+
+
+@interface StatusWindowController : NSObject {
+    StatusWindow   *_window;
+    NSUserDefaults *df;
 }
-- (void)setUpcomingSongs:(NSString *)string;
-- (void)setTrackInfo:(NSString *)string;
-- (void)fadeWindowOut;
+
+- (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
+
+- (void)showVolumeWindowWithLevel:(float)level;
+- (void)showRatingWindowWithRating:(int)rating;
+- (void)showShuffleWindow:(BOOL)shuffle;
+- (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
+- (void)showSetupQueryWindow;
+
+- (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;
+
+
 @end