#import <Cocoa/Cocoa.h>
-typedef enum {stopped = -1, paused, playing, rewinding, forwarding} PlayerState;
+typedef enum {
+ stopped = -1,
+ paused,
+ playing,
+ rewinding,
+ forwarding
+} PlayerState;
/*! @protocol ITMTRemote
* @abstract Declares what a MenuTunes Remote must be able to do.
+ (id)remote;
/*! @method title:
- * @abstract Returns an autoreleased instance of the remote.
+ * @abstract Returns the title of the plugin, which should be player name.
* @result An NSString containing the title.
*/
- (NSString *)title;
*/
- (BOOL)halt;
+- (BOOL)isAppRunning;
- (PlayerState)playerState;
- (NSArray *)playlists;
- (NSString *)currentSongLength;
- (NSString *)currentSongRemaining;
+- (int)currentSongRating;
+- (BOOL)setCurrentSongRating:(int)rating;
+
- (NSArray *)eqPresets;
- (int)currentEQPresetIndex;