6 * Original Author : Kent Sutherland <ksuther@ithinksw.com>
7 * Responsibility : Kent Sutherland <ksuther@ithinksw.com>
9 * Copyright (c) 2002 The iThink Group.
15 #import <Cocoa/Cocoa.h>
16 #import <Carbon/Carbon.h>
18 @class MenuTunesView, PreferencesController, StatusWindowController;
20 @interface MenuTunes : NSObject
22 NSStatusItem *statusItem;
25 ComponentInstance asComponent;
27 //Used in updating the menu automatically
28 NSTimer *refreshTimer;
32 ProcessSerialNumber iTunesPSN;
33 bool didHaveAlbumName; //Helper variable for creating the menu
36 NSMenuItem *upcomingSongsItem;
37 NSMenu *upcomingSongsMenu;
39 //For playlist selection
40 NSMenuItem *playlistItem;
47 NSMenuItem *playPauseMenuItem; //Toggle between 'Play' and 'Pause'
49 PreferencesController *prefsController;
50 StatusWindowController *statusController; //Shows track info and upcoming songs.
55 - (ProcessSerialNumber)iTunesPSN;
56 - (void)closePreferences;