git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stripped out older stuff. It's better now :)
[MenuTunes.git]
/
MenuTunes.h
diff --git
a/MenuTunes.h
b/MenuTunes.h
index
cde1eff
..
d4807fd
100755
(executable)
--- a/
MenuTunes.h
+++ b/
MenuTunes.h
@@
-15,6
+15,9
@@
#import <Cocoa/Cocoa.h>
#import <Carbon/Carbon.h>
#import <ITKit/ITKit.h>
#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;
//@class MenuTunesView;
@class PreferencesController, StatusWindowController;
@@
-23,15
+26,15
@@
{
ITStatusItem *statusItem;
NSMenu *menu;
{
ITStatusItem *statusItem;
NSMenu *menu;
- ComponentInstance asComponent;
+ ITMTRemote *currentRemote;
+ NSMutableArray *remoteArray;
//Used in updating the menu automatically
NSTimer *refreshTimer;
//Used in updating the menu automatically
NSTimer *refreshTimer;
- int curTrackIndex, curPlaylistIndex;
- int trackInfoIndex;
+ int trackInfoIndex, lastSongIndex;
bool isPlayingRadio;
bool isPlayingRadio;
-
ProcessSerialNumber iTunesPSN
;
+
bool isAppRunning
;
bool didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu
//For upcoming songs
bool didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu
//For upcoming songs
@@
-54,7
+57,6
@@
- (void)registerDefaultsIfNeeded;
- (void)rebuildMenu;
- (void)clearHotKeys;
- (void)registerDefaultsIfNeeded;
- (void)rebuildMenu;
- (void)clearHotKeys;
-- (ProcessSerialNumber)iTunesPSN;
- (void)closePreferences;
@end
- (void)closePreferences;
@end