git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding currentSource to the plugin API, and a placeholder method for
[MenuTunes.git]
/
ITMTRemote.h
diff --git
a/ITMTRemote.h
b/ITMTRemote.h
index
2d55b42
..
8984a68
100755
(executable)
--- a/
ITMTRemote.h
+++ b/
ITMTRemote.h
@@
-69,6
+69,14
@@
typedef enum {
ITMTRemotePlayerRadioPlaylist
} ITMTRemotePlayerPlaylistClass;
ITMTRemotePlayerRadioPlaylist
} ITMTRemotePlayerPlaylistClass;
+typedef enum {
+ ITMTRemoteLibrarySource = -1,
+ ITMTRemoteCDSource,
+ ITMTRemoteRadioSource,
+ ITMTRemoteiPodSource,
+ ITMTRemoteMP3PlayerSource
+} ITMTRemotePlayerSource;
+
/*!
* @enum ITMTRemotePlayerRepeatMode
* @abstract Possible repeat modes for the remote's player.
/*!
* @enum ITMTRemotePlayerRepeatMode
* @abstract Possible repeat modes for the remote's player.
@@
-195,9
+203,14
@@
typedef enum {
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
/*!
- (int)numberOfSongsInPlaylistAtIndex:(int)index;
/*!
- * @method classOfPlaylistAtIndex:
+ * @method currentSource
+ */
+- (ITMTRemotePlayerSource)currentSource;
+
+/*!
+ * @method currentPlaylistClass
*/
*/
-- (ITMTRemotePlayerPlaylistClass)c
lassOfPlaylistAtIndex:(int)index
;
+- (ITMTRemotePlayerPlaylistClass)c
urrentPlaylistClass
;
/*!
* @method currentPlaylistIndex
/*!
* @method currentPlaylistIndex
@@
-210,9
+223,19
@@
typedef enum {
- (NSString *)songTitleAtIndex:(int)index;
/*!
- (NSString *)songTitleAtIndex:(int)index;
/*!
- * @method current
SongUniqueIdentifier
:
+ * @method current
AlbumTrackCount
:
*/
*/
-- (NSString *)currentSongUniqueIdentifier;
+- (int)currentAlbumTrackCount;
+
+/*!
+ * @method currentSongTrack:
+ */
+- (int)currentSongTrack;
+
+/*!
+ * @method playerStateUniqueIdentifier:
+ */
+- (NSString *)playerStateUniqueIdentifier;
/*!
* @method currentSongIndex
/*!
* @method currentSongIndex
@@
-259,16
+282,6
@@
typedef enum {
*/
- (BOOL)setCurrentSongRating:(float)rating;
*/
- (BOOL)setCurrentSongRating:(float)rating;
-/*!
- * @method equalizerEnabled
- */
-- (BOOL)equalizerEnabled;
-
-/*!
- * @method setEqualizerEnabled:
- */
-- (BOOL)setEqualizerEnabled:(BOOL)enabled;
-
/*!
* @method eqPresets
*/
/*!
* @method eqPresets
*/