Added another debug statement to see if I cornered that stupid crash bug
[MenuTunes.git] / StatusWindowController.h
index ccf3d8a..c0ec9eb 100755 (executable)
@@ -1,15 +1,56 @@
-/* StatusWindowController */
+/*
+ *     MenuTunes
+ *  StatusWindowController
+ *    Abstraction layer between MainController and StatusWindow
+ *
+ *  Original Author : Matthew Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
+ *
+ *  Copyright (c) 2003 iThink Software.
+ *  All Rights Reserved
+ *
+ */
+
 
 #import <Cocoa/Cocoa.h>
 
 #import <Cocoa/Cocoa.h>
+#import "ITMTRemote.h"
+#import "StatusWindow.h"
+
+
+typedef enum {
+    StatusWindowRepeatNone = -1,
+    StatusWindowRepeatGroup,
+    StatusWindowRepeatTrack
+} StatusWindowRepeatMode;
 
 
-@class StatusWindow;
 
 
-@interface StatusWindowController : NSObject
-{
-    IBOutlet NSTextField *statusField;
-    IBOutlet StatusWindow *statusWindow;
+@interface StatusWindowController : NSObject {
+    StatusWindow   *_window;
+    NSUserDefaults *df;
 }
 }
-- (void)setUpcomingSongs:(NSString *)string numSongs:(int)songs;
-- (void)setTrackInfo:(NSString *)string lines:(int)lines;
-- (void)fadeWindowOut;
+
++ (StatusWindowController *)sharedController;
+
+- (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
+
+- (void)showVolumeWindowWithLevel:(float)level;
+- (void)showRatingWindowWithRating:(float)rating;
+- (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
+                            composer:            (NSString *)composer
+                                time:            (NSString *)time  // FLOW: Should probably be NSDate or something.
+                               track:            (NSString *)track
+                              rating:                   (int)rating
+                               image:             (NSImage *)art;
+
+
 @end
 @end