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;
32 + (StatusWindowController *)sharedController;
34 - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
36 - (void)showVolumeWindowWithLevel:(float)level;
37 - (void)showRatingWindowWithRating:(float)rating;
38 - (void)showShuffleWindow:(BOOL)shuffle;
39 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
40 - (void)showSetupQueryWindow;
41 - (void)showRegistrationQueryWindow;
42 - (void)showReconnectQueryWindow;
43 - (void)showNetworkErrorQueryWindow;
44 - (void)showPreferencesUpdateWindow;
46 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
47 title: (NSString *)title
48 album: (NSString *)album
49 artist: (NSString *)artist
50 composer: (NSString *)composer
51 time: (NSString *)time // FLOW: Should probably be NSDate or something.
52 track: (NSString *)track
54 playCount: (int)playCount
55 image: (NSImage *)art;