Adding currentSource to the plugin API, and a placeholder method for
[MenuTunes.git] / ITMTRemote.h
index 2d55b42..8984a68 100755 (executable)
@@ -69,6 +69,14 @@ typedef enum {
     ITMTRemotePlayerRadioPlaylist
 } ITMTRemotePlayerPlaylistClass;
 
+typedef enum {
+    ITMTRemoteLibrarySource = -1,
+    ITMTRemoteCDSource,
+    ITMTRemoteRadioSource,
+    ITMTRemoteiPodSource,
+    ITMTRemoteMP3PlayerSource
+} ITMTRemotePlayerSource;
+
 /*!
  * @enum ITMTRemotePlayerRepeatMode
  * @abstract Possible repeat modes for the remote's player.
@@ -195,9 +203,14 @@ typedef enum {
 - (int)numberOfSongsInPlaylistAtIndex:(int)index;
 
 /*!
- * @method classOfPlaylistAtIndex:
+ * @method currentSource
+ */
+- (ITMTRemotePlayerSource)currentSource;
+
+/*!
+ * @method currentPlaylistClass
  */
-- (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index;
+- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass;
 
 /*!
  * @method currentPlaylistIndex
@@ -210,9 +223,19 @@ typedef enum {
 - (NSString *)songTitleAtIndex:(int)index;
 
 /*!
- * @method currentSongUniqueIdentifier:
+ * @method currentAlbumTrackCount:
  */
-- (NSString *)currentSongUniqueIdentifier;
+- (int)currentAlbumTrackCount;
+
+/*!
+ * @method currentSongTrack:
+ */
+- (int)currentSongTrack;
+
+/*!
+ * @method playerStateUniqueIdentifier:
+ */
+- (NSString *)playerStateUniqueIdentifier;
 
 /*!
  * @method currentSongIndex
@@ -259,16 +282,6 @@ typedef enum {
  */
 - (BOOL)setCurrentSongRating:(float)rating;
 
-/*!
- * @method equalizerEnabled
- */
-- (BOOL)equalizerEnabled;
-
-/*!
- * @method setEqualizerEnabled:
- */
-- (BOOL)setEqualizerEnabled:(BOOL)enabled;
-
 /*!
  * @method eqPresets
  */