git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some Plugin API changes... Need to finish the API HeaderDocs sometime
[MenuTunes.git]
/
ITMTRemote.h
diff --git
a/ITMTRemote.h
b/ITMTRemote.h
index
b20eaee
..
693d908
100755
(executable)
--- a/
ITMTRemote.h
+++ b/
ITMTRemote.h
@@
-34,7
+34,7
@@
typedef enum {
playing,
rewinding,
forwarding
playing,
rewinding,
forwarding
-} PlayerState;
+}
ITMTRemote
PlayerState;
/*! @protocol ITMTRemote
* @abstract Declares what a MenuTunes Remote must be able to do.
/*! @protocol ITMTRemote
* @abstract Declares what a MenuTunes Remote must be able to do.
@@
-85,8
+85,17
@@
typedef enum {
*/
- (BOOL)halt;
*/
- (BOOL)halt;
+/*! @method isAppRunning:
+ * @abstract Returns controlled application's running status (is or isn't running).
+ * @result BOOL of the controlled application's running status.
+ */
- (BOOL)isAppRunning;
- (BOOL)isAppRunning;
-- (PlayerState)playerState;
+
+/*! @method playerState:
+ * @abstract Returns controlled application's playing state.
+ * @result ITMTRemotePlayerState of the controlled application's playing state.
+ */
+- (ITMTRemotePlayerState)playerState;
- (NSArray *)playlists;
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
- (NSArray *)playlists;
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
@@
-103,12
+112,15
@@
typedef enum {
- (NSString *)currentSongLength;
- (NSString *)currentSongRemaining;
- (NSString *)currentSongLength;
- (NSString *)currentSongRemaining;
-- (
in
t)currentSongRating;
-- (BOOL)setCurrentSongRating:(
in
t)rating;
+- (
floa
t)currentSongRating;
+- (BOOL)setCurrentSongRating:(
floa
t)rating;
- (NSArray *)eqPresets;
- (int)currentEQPresetIndex;
- (NSArray *)eqPresets;
- (int)currentEQPresetIndex;
+- (float)volume;
+- (BOOL)setVolume:(float)volume;
+
- (BOOL)play;
- (BOOL)pause;
- (BOOL)goToNextSong;
- (BOOL)play;
- (BOOL)pause;
- (BOOL)goToNextSong;