Stripped out older stuff. It's better now :)
[MenuTunes.git] / MenuTunes.h
index a45d814..d4807fd 100755 (executable)
@@ -6,7 +6,7 @@
  *  Original Author : Kent Sutherland <ksuther@ithinksw.com>
  *   Responsibility : Kent Sutherland <ksuther@ithinksw.com>
  *
- *  Copyright (c) 2002 The iThink Group.
+ *  Copyright (c) 2002 iThink Software.
  *  All Rights Reserved
  *
  */
 
 #import <Cocoa/Cocoa.h>
 #import <Carbon/Carbon.h>
+#import <ITKit/ITKit.h>
+#import <ITFoundation/ITFoundation.h>
+#import <ITMTRemote/ITMTRemote.h>
 
-@class MenuTunesView, PreferencesController, StatusWindowController;
+
+//@class MenuTunesView;
+@class PreferencesController, StatusWindowController;
 
 @interface MenuTunes : NSObject
 {
-    NSStatusItem *statusItem;
+    ITStatusItem *statusItem;
     NSMenu *menu;
-    MenuTunesView *view;
-    ComponentInstance asComponent;
+    ITMTRemote *currentRemote;
+    NSMutableArray *remoteArray;
     
     //Used in updating the menu automatically
     NSTimer *refreshTimer;
-    int curTrackIndex;
-    int trackInfoIndex;
+    int trackInfoIndex, lastSongIndex;
+    bool isPlayingRadio;
     
-    ProcessSerialNumber iTunesPSN;
-    bool didHaveAlbumName; //Helper variable for creating the menu
+    bool isAppRunning;
+    bool didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu
     
     //For upcoming songs
     NSMenuItem *upcomingSongsItem;
     PreferencesController *prefsController;
     StatusWindowController *statusController; //Shows track info and upcoming songs.
 }
-
+- (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
 - (void)clearHotKeys;
-- (ProcessSerialNumber)iTunesPSN;
 - (void)closePreferences;
 
 @end