Initial hookup of the new positioning into MT. The corner effects work,
[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)readDefaults;
37
38 - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings;
39
40 - (void)showVolumeWindowWithLevel:(float)level;
41 - (void)showRatingWindowWithRating:(float)rating;
42 - (void)showShuffleWindow:(BOOL)shuffle;
43 - (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode;
44 - (void)showSetupQueryWindow;
45 - (void)showRegistrationQueryWindow;
46 - (void)showReconnectQueryWindow;
47
48 - (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
49                                title:            (NSString *)title
50                                album:            (NSString *)album
51                               artist:            (NSString *)artist
52                                 time:            (NSString *)time  // FLOW: Should probably be NSDate or something.
53                                track:            (NSString *)track
54                               rating:                   (int)rating;
55
56
57 @end