-/* MenuTunes */
+/*
+ * MenuTunes
+ * MenuTunes
+ * App Controller Class
+ *
+ * Original Author : Kent Sutherland <ksuther@ithinksw.com>
+ * Responsibility : Kent Sutherland <ksuther@ithinksw.com>
+ *
+ * Copyright (c) 2002 iThink Software.
+ * All Rights Reserved
+ *
+ */
+
#import <Cocoa/Cocoa.h>
#import <Carbon/Carbon.h>
-@class MenuTunesView, PreferencesController, StatusWindowController;
+//@class MenuTunesView;
+@class PreferencesController, StatusWindowController;
@interface MenuTunes : NSObject
{
NSStatusItem *statusItem;
NSMenu *menu;
- MenuTunesView *view;
+// MenuTunesView *view;
+ ComponentInstance asComponent;
//Used in updating the menu automatically
NSTimer *refreshTimer;
}
- (void)rebuildMenu;
-- (void)updateMenu;
-- (void)rebuildUpcomingSongsMenu;
-- (void)rebuildPlaylistMenu;
-- (void)rebuildEQPresetsMenu;
-
- (void)clearHotKeys;
-- (void)setupHotKeys;
-
-- (NSString *)runScriptAndReturnResult:(NSString *)script;
-- (void)timerUpdate;
-
- (ProcessSerialNumber)iTunesPSN;
-
-- (void)sendAEWithEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID;
-
- (void)closePreferences;
@end