STATUS WINDOWS NOW EXIST IN MENUTUNES. Some work left to do on them, then positioni...
[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     MTStatusWindowLoopModeLoopNone,
24     MTStatusWindowLoopModeLoopOne,
25     MTStatusWindowLoopModeLoopAll
26 } MTStatusWindowLoopMode;
27
28 typedef enum {
29     MTStatusWindowShuffleModeOn,
30     MTStatusWindowShuffleModeOff
31 } MTStatusWindowShuffleMode;
32
33
34 @interface StatusWindowController : NSObject {
35     StatusWindow *_window;
36     NSUserDefaults *df;
37 }
38
39 - (void)showSongWindowWithTitle:            (NSString *)title
40                           album:            (NSString *)album
41                          artist:            (NSString *)artist
42                            time:            (NSString *)time  // FLOW: Should probably be NSDate or something.
43                     trackNumber:                   (int)trackNumber
44                      trackTotal:                   (int)trackTotal
45                          rating:                   (int)rating
46                          source:(ITMTRemotePlayerSource)source;
47
48 - (void)showUpcomingSongsWithTitles:(NSArray *)titleStrings;
49
50 - (void)showVolumeWindowWithLevel:(int)level;
51 - (void)showRatingWindowWithLevel:(int)level;
52 - (void)showShuffleWindowWithMode:(MTStatusWindowShuffleMode)mode;
53 - (void)showLoopWindowWithMode:(MTStatusWindowLoopMode)mode;
54
55 @end