3 * StatusWindowController
4 * Abstraction layer between MainController and StatusWindow
6 * Original Author : Matthew Judy <mjudy@ithinksw.com>
7 * Responsibility : Matthew Judy <mjudy@ithinksw.com>
9 * Copyright (c) 2003 iThink Software.
15 #import <Cocoa/Cocoa.h>
16 #import "ITMTRemote.h"
17 #import "StatusWindow.h"
21 StatusWindowRepeatNone = -1,
22 StatusWindowRepeatGroup,
23 StatusWindowRepeatTrack
24 } StatusWindowRepeatMode;
27 @interface StatusWindowController : NSObject {
28 StatusWindow *_window;
33 + (StatusWindowController *)sharedController;
35 - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
37 - (void)showVolumeWindowWithLevel:(float)level;
38 - (void)showRatingWindowWithRating:(float)rating;
39 - (void)showShuffleWindow:(BOOL)shuffle;
40 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
41 - (void)showSongShufflabilityWindow:(BOOL)shufflable;
42 - (void)showSetupQueryWindow;
43 - (void)showRegistrationQueryWindow;
44 - (void)showReconnectQueryWindow;
45 - (void)showNetworkErrorQueryWindow;
46 - (void)showPreferencesUpdateWindow;
47 - (void)showDebugModeEnabledWindow;
49 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
50 title: (NSString *)title
51 album: (NSString *)album
52 artist: (NSString *)artist
53 composer: (NSString *)composer
54 time: (NSString *)time // FLOW: Should probably be NSDate or something.
55 track: (NSString *)track
57 playCount: (int)playCount
58 image: (NSImage *)art;
60 - (void)updateTime:(NSString *)time;