git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Everything is in the plugin now, I hope
[MenuTunes.git]
/
ITMTRemote.h
diff --git
a/ITMTRemote.h
b/ITMTRemote.h
index
9b36236
..
735e11e
100755
(executable)
--- a/
ITMTRemote.h
+++ b/
ITMTRemote.h
@@
-28,6
+28,8
@@
#import <Cocoa/Cocoa.h>
#import <Cocoa/Cocoa.h>
+typedef enum {stopped = -1, paused, playing, rewinding, forwarding} PlayerState;
+
/*! @protocol ITMTRemote
* @abstract Declares what a MenuTunes Remote must be able to do.
* @discussion A MenuTunes Remote must be able to return and change state information.
/*! @protocol ITMTRemote
* @abstract Declares what a MenuTunes Remote must be able to do.
* @discussion A MenuTunes Remote must be able to return and change state information.
@@
-77,6
+79,8
@@
*/
- (BOOL)halt;
*/
- (BOOL)halt;
+- (PlayerState)playerState;
+
- (NSArray *)playlists;
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
- (NSString *)classOfPlaylistAtIndex:(int)index;
- (NSArray *)playlists;
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
- (NSString *)classOfPlaylistAtIndex:(int)index;
@@
-99,6
+103,8
@@
- (BOOL)pause;
- (BOOL)goToNextSong;
- (BOOL)goToPreviousSong;
- (BOOL)pause;
- (BOOL)goToNextSong;
- (BOOL)goToPreviousSong;
+- (BOOL)fastForward;
+- (BOOL)rewind;
- (BOOL)switchToPlaylistAtIndex:(int)index;
- (BOOL)switchToSongAtIndex:(int)index;
- (BOOL)switchToPlaylistAtIndex:(int)index;
- (BOOL)switchToSongAtIndex:(int)index;