Adding currentSource to the plugin API, and a placeholder method for
[MenuTunes.git] / ITMTRemote.h
index 2c27199..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.
@@ -194,6 +202,11 @@ typedef enum {
  */
 - (int)numberOfSongsInPlaylistAtIndex:(int)index;
 
+/*!
+ * @method currentSource
+ */
+- (ITMTRemotePlayerSource)currentSource;
+
 /*!
  * @method currentPlaylistClass
  */