Incremental checkin. Updating the StatusWindow and WtatusWindowController objects...
[MenuTunes.git] / StatusWindowController.h
1 /*
2  *      MenuTunes
3  *  StatusWindowController
4  *    Abstraction layer between MainController and StatusWindow
5  *
6  *  Original Author : Matthew Judy <mjudy@ithinksw.com>
7  *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
8  *
9  *  Copyright (c) 2003 iThink Software.
10  *  All Rights Reserved
11  *
12  */
13
14
15 #import <Cocoa/Cocoa.h>
16 #import "ITMTRemote.h"
17
18
19 @class StatusWindow;
20
21
22 typedef enum {
23     StatusWindowRepeatNone,
24     StatusWindowRepeatGroup,
25     StatusWindowRepeatSong
26 } StatusWindowRepeatMode;
27
28
29 @interface StatusWindowController : NSObject {
30     StatusWindow   *_window;
31     NSUserDefaults *df;
32 }
33
34 - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
35
36 - (void)showVolumeWindowWithLevel:(float)level;
37 - (void)showRatingWindowWithRating:(int)rating;
38 - (void)showShuffleWindow:(BOOL)shuffle;
39 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
40 - (void)showSetupQueryWindow;
41
42 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
43                                title:            (NSString *)title
44                                album:            (NSString *)album
45                               artist:            (NSString *)artist
46                                 time:            (NSString *)time
47                          trackNumber:                   (int)trackNumber
48                           trackTotal:                       (int)trackTotal
49                               rating:                   (int)rating;
50
51
52 @end