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)showSetupQueryWindow;
42 - (void)showRegistrationQueryWindow;
43 - (void)showReconnectQueryWindow;
44 - (void)showNetworkErrorQueryWindow;
45 - (void)showPreferencesUpdateWindow;
46 - (void)showDebugModeEnabledWindow;
48 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
49 title: (NSString *)title
50 album: (NSString *)album
51 artist: (NSString *)artist
52 composer: (NSString *)composer
53 time: (NSString *)time // FLOW: Should probably be NSDate or something.
54 track: (NSString *)track
56 playCount: (int)playCount
57 image: (NSImage *)art;
59 - (void)updateTime:(NSString *)time;