git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes in autologin and defaults.
[MenuTunes.git]
/
MenuTunes.h
diff --git
a/MenuTunes.h
b/MenuTunes.h
index
8aaffb9
..
cde1eff
100755
(executable)
--- a/
MenuTunes.h
+++ b/
MenuTunes.h
@@
-14,25
+14,25
@@
#import <Cocoa/Cocoa.h>
#import <Carbon/Carbon.h>
#import <Cocoa/Cocoa.h>
#import <Carbon/Carbon.h>
+#import <ITKit/ITKit.h>
//@class MenuTunesView;
@class PreferencesController, StatusWindowController;
@interface MenuTunes : NSObject
{
//@class MenuTunesView;
@class PreferencesController, StatusWindowController;
@interface MenuTunes : NSObject
{
-
NS
StatusItem *statusItem;
+
IT
StatusItem *statusItem;
NSMenu *menu;
NSMenu *menu;
-// MenuTunesView *view;
ComponentInstance asComponent;
//Used in updating the menu automatically
NSTimer *refreshTimer;
ComponentInstance asComponent;
//Used in updating the menu automatically
NSTimer *refreshTimer;
- int curTrackIndex;
+ int curTrackIndex
, curPlaylistIndex
;
int trackInfoIndex;
bool isPlayingRadio;
ProcessSerialNumber iTunesPSN;
int trackInfoIndex;
bool isPlayingRadio;
ProcessSerialNumber iTunesPSN;
- bool didHaveAlbumName; //Helper variable for creating the menu
+ bool didHaveAlbumName
, didHaveArtistName
; //Helper variable for creating the menu
//For upcoming songs
NSMenuItem *upcomingSongsItem;
//For upcoming songs
NSMenuItem *upcomingSongsItem;
@@
-51,7
+51,7
@@
PreferencesController *prefsController;
StatusWindowController *statusController; //Shows track info and upcoming songs.
}
PreferencesController *prefsController;
StatusWindowController *statusController; //Shows track info and upcoming songs.
}
-
+- (void)registerDefaultsIfNeeded;
- (void)rebuildMenu;
- (void)clearHotKeys;
- (ProcessSerialNumber)iTunesPSN;
- (void)rebuildMenu;
- (void)clearHotKeys;
- (ProcessSerialNumber)iTunesPSN;