In Obj-C, the boolean data type is BOOL, not bool. This seems to be the only class...
[MenuTunes.git] / MenuTunes.h
index bdbe402..304b34d 100755 (executable)
 
 #import <Cocoa/Cocoa.h>
 #import <Carbon/Carbon.h>
+#import <ITKit/ITKit.h>
+#import <ITFoundation/ITFoundation.h>
+#import <ITMTRemote/ITMTRemote.h>
+
 
 //@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;
@@ -51,9 +55,9 @@
     StatusWindowController *statusController; //Shows track info and upcoming songs.
 }
 
+- (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
 - (void)clearHotKeys;
-- (ProcessSerialNumber)iTunesPSN;
 - (void)closePreferences;
 
 @end