In Obj-C, the boolean data type is BOOL, not bool. This seems to be the only class...
[MenuTunes.git] / MenuTunes.h
index da28d11..304b34d 100755 (executable)
@@ -15,6 +15,9 @@
 #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;
 {
     ITStatusItem *statusItem;
     NSMenu *menu;
-    ComponentInstance asComponent;
+    ITMTRemote *currentRemote;
+    NSMutableArray *remoteArray;
     
     //Used in updating the menu automatically
     NSTimer *refreshTimer;
-    int curTrackIndex, curPlaylistIndex;
-    int trackInfoIndex;
-    bool isPlayingRadio;
+    int trackInfoIndex, lastSongIndex;
+    BOOL isPlayingRadio;
     
-    ProcessSerialNumber iTunesPSN;
-    bool didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu
+    BOOL isAppRunning;
+    BOOL didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu
     
     //For upcoming songs
     NSMenuItem *upcomingSongsItem;
@@ -52,9 +55,9 @@
     StatusWindowController *statusController; //Shows track info and upcoming songs.
 }
 
+- (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
 - (void)clearHotKeys;
-- (ProcessSerialNumber)iTunesPSN;
 - (void)closePreferences;
 
 @end