git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented time ticking in song info status window.
[MenuTunes.git]
/
StatusWindowController.h
diff --git
a/StatusWindowController.h
b/StatusWindowController.h
index
11d7fe8
..
b192d36
100755
(executable)
--- a/
StatusWindowController.h
+++ b/
StatusWindowController.h
@@
-14,9
+14,7
@@
#import <Cocoa/Cocoa.h>
#import "ITMTRemote.h"
#import <Cocoa/Cocoa.h>
#import "ITMTRemote.h"
-
-
-@class StatusWindow;
+#import "StatusWindow.h"
typedef enum {
typedef enum {
@@
-29,6
+27,7
@@
typedef enum {
@interface StatusWindowController : NSObject {
StatusWindow *_window;
NSUserDefaults *df;
@interface StatusWindowController : NSObject {
StatusWindow *_window;
NSUserDefaults *df;
+ NSRange _timeRange;
}
+ (StatusWindowController *)sharedController;
}
+ (StatusWindowController *)sharedController;
@@
-42,14
+41,21
@@
typedef enum {
- (void)showSetupQueryWindow;
- (void)showRegistrationQueryWindow;
- (void)showReconnectQueryWindow;
- (void)showSetupQueryWindow;
- (void)showRegistrationQueryWindow;
- (void)showReconnectQueryWindow;
+- (void)showNetworkErrorQueryWindow;
+- (void)showPreferencesUpdateWindow;
+- (void)showDebugModeEnabledWindow;
- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
title: (NSString *)title
album: (NSString *)album
artist: (NSString *)artist
- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
title: (NSString *)title
album: (NSString *)album
artist: (NSString *)artist
+ composer: (NSString *)composer
time: (NSString *)time // FLOW: Should probably be NSDate or something.
track: (NSString *)track
time: (NSString *)time // FLOW: Should probably be NSDate or something.
track: (NSString *)track
- rating: (int)rating;
+ rating: (int)rating
+ playCount: (int)playCount
+ image: (NSImage *)art;
+- (void)updateTime:(NSString *)time;
@end
@end