git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a play count option to track info.
[MenuTunes.git]
/
MainController.h
diff --git
a/MainController.h
b/MainController.h
index
08722af
..
f5c0834
100755
(executable)
--- a/
MainController.h
+++ b/
MainController.h
@@
-43,8
+43,9
@@
MTBlingController *bling;
NSTimer *registerTimer;
MTBlingController *bling;
NSTimer *registerTimer;
- BOOL timerUpdating;
+ BOOL timerUpdating
, _checkingForServer
;
BOOL blinged;
BOOL blinged;
+ NSLock *_serverCheckLock;
}
+ (MainController *)sharedController;
}
+ (MainController *)sharedController;
@@
-77,6
+78,7
@@
- (void)setServerStatus:(BOOL)newStatus;
- (int)connectToServer;
- (BOOL)disconnectFromServer;
- (void)setServerStatus:(BOOL)newStatus;
- (int)connectToServer;
- (BOOL)disconnectFromServer;
+- (void)checkForRemoteServerAndConnectImmediately:(BOOL)connectImmediately;
- (void)networkError:(NSException *)exception;
//
- (void)networkError:(NSException *)exception;
//
@@
-85,7
+87,12
@@
- (void)clearHotKeys;
- (void)setupHotKeys;
- (void)closePreferences;
- (void)clearHotKeys;
- (void)setupHotKeys;
- (void)closePreferences;
+- (MenuController *)menuController;
- (void)showCurrentTrackInfo;
@end
- (void)showCurrentTrackInfo;
@end
+
+@interface NSImage (SmoothAdditions)
+- (NSImage *)imageScaledSmoothlyToSize:(NSSize)scaledSize;
+@end
\ No newline at end of file