Lots of code cleanup, bug fixes.
[MenuTunes.git] / MenuTunes.h
index dd79366..466c4e4 100755 (executable)
@@ -31,7 +31,7 @@
     
     //Used in updating the menu automatically
     NSTimer *refreshTimer;
-    int trackInfoIndex, lastSongIndex;
+    int trackInfoIndex, lastSongIndex, lastPlaylistIndex;
     BOOL isPlayingRadio;
     
     BOOL isAppRunning;
@@ -55,6 +55,9 @@
     StatusWindow *statusWindow; //Shows track info and upcoming songs.
 }
 
+- (void)iTunesLaunched:(NSNotification *)note;
+- (void)iTunesTerminated:(NSNotification *)note;
+
 - (void)registerDefaultsIfNeeded;
 - (void)rebuildMenu;
 - (void)clearHotKeys;