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
137b859
..
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.
@@
-166,6
+174,11
@@
typedef enum {
*/
- (NSDictionary *)capabilities;
*/
- (NSDictionary *)capabilities;
+/*!
+ * @method showPrimaryInterface
+ */
+- (BOOL)showPrimaryInterface;
+
/*!
* @method playerRunningState
* @abstract Returns the running state of the remote's player.
/*!
* @method playerRunningState
* @abstract Returns the running state of the remote's player.
@@
-190,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
@@
-204,6
+222,21
@@
typedef enum {
*/
- (NSString *)songTitleAtIndex:(int)index;
*/
- (NSString *)songTitleAtIndex:(int)index;
+/*!
+ * @method currentAlbumTrackCount:
+ */
+- (int)currentAlbumTrackCount;
+
+/*!
+ * @method currentSongTrack:
+ */
+- (int)currentSongTrack;
+
+/*!
+ * @method playerStateUniqueIdentifier:
+ */
+- (NSString *)playerStateUniqueIdentifier;
+
/*!
* @method currentSongIndex
*/
/*!
* @method currentSongIndex
*/
@@
-249,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
*/