HAY GUYS LETS SHIP
[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 = -1,
24     StatusWindowRepeatGroup,
25     StatusWindowRepeatTrack
26 } StatusWindowRepeatMode;
27
28
29 @interface StatusWindowController : NSObject {
30     StatusWindow   *_window;
31     NSUserDefaults *df;
32 }
33
34 + (StatusWindowController *)sharedController;
35
36 - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
37
38 - (void)showVolumeWindowWithLevel:(float)level;
39 - (void)showRatingWindowWithRating:(float)rating;
40 - (void)showShuffleWindow:(BOOL)shuffle;
41 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
42 - (void)showSetupQueryWindow;
43 - (void)showRegistrationQueryWindow;
44
45 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
46                                title:            (NSString *)title
47                                album:            (NSString *)album
48                               artist:            (NSString *)artist
49                                 time:            (NSString *)time  // FLOW: Should probably be NSDate or something.
50                                track:            (NSString *)track
51                               rating:                   (int)rating;
52
53
54 @end