/*
- * MenuTunes
- * ITMTRemote
- * Plugin definition for audio player control via MenuTunes
+ * MenuTunes
+ * ITMTRemote.h
*
- * Original Author : Matt Judy <mjudy@ithinksw.com>
- * Responsibility : Matt Judy <mjudy@ithinksw.com>
- *
- * Copyright (c) 2002 - 2003 iThink Software.
- * All Rights Reserved
+ * Plugin definition for audio player control via MenuTunes.
*
* This header defines the Objective-C protocol which all MenuTunes Remote
- * plugins must implement. To build a remote, create a subclass of this
- * object, and implement each method in the @protocol below.
+ * plugins must implement. To build a remote, create a subclass of this
+ * object, and implement each method in the @protocol below.
+ *
+ * Copyright (c) 2002-2003 iThink Software
*
*/
*/
- (NSImage *)remoteIcon;
-/*!
- * @method sharedRemoteName
- * @abstract Returns the shared remote's name.
- * @discussion This title is shown while the user is selecting which shared remote to use. This is for informational purposes only, should not be overridden.
- * @result An NSString containing the name of the shared remote.
- */
-- (NSString *)sharedRemoteName;
-
/*!
* @method begin
* @abstract Sent when the remote should begin operation.
*/
- (NSArray *)playlists;
+/*!
+ * @method artists
+ */
+- (NSArray *)artists;
+
+/*!
+ * @method albums
+ */
+- (NSArray *)albums;
+
/*!
* @method numberOfSongsInPlaylistAtIndex:
*/
*/
- (ITMTRemotePlayerSource)currentSource;
+/*!
+ * @method currentSourceIndex
+ */
+- (int)currentSourceIndex;
+
/*!
* @method currentPlaylistClass
*/
*/
- (NSString *)songTitleAtIndex:(int)index;
+/*!
+ * @method songEnabledAtIndex:
+ */
+- (BOOL)songEnabledAtIndex:(int)index;
+
/*!
* @method currentAlbumTrackCount:
*/
*/
- (NSString *)currentSongArtist;
+/*!
+ * @method currentSongComposer
+ */
+- (NSString *)currentSongComposer;
+
/*!
* @method currentSongAlbum
*/
*/
- (NSString *)currentSongLength;
+/*!
+ * @method currentSongPlayed
+ */
+- (int)currentSongPlayed;
+
+/*!
+ * @method currentSongDuration
+ */
+- (int)currentSongDuration;
+
/*!
* @method currentSongRemaining
*/
*/
- (NSImage *)currentSongAlbumArt;
+/*!
+ * @method currentSongPlayCount
+ */
+- (int)currentSongPlayCount;
+
/*!
* @method currentSongRating
*/
*/
- (BOOL)setCurrentSongRating:(float)rating;
+/*!
+ * @method currentSongShuffable
+ */
+- (BOOL)currentSongShufflable;
+
+/*!
+ * @method setCurrentSongShuffable:
+ */
+- (BOOL)setCurrentSongShufflable:(BOOL)shufflable;
+
+/*!
+ * @method equalizerEnabled
+ */
+- (BOOL)equalizerEnabled;
+
+/*!
+ * @method setEqualizerEnabled:
+ */
+- (BOOL)setEqualizerEnabled:(BOOL)enabled;
+
/*!
* @method eqPresets
*/
*/
- (BOOL)switchToPlaylistAtIndex:(int)index;
+/*!
+ * @method switchToPlaylistAtIndex:
+ */
+- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2;
+
/*!
* @method switchToSongAtIndex:
*/
*/
- (BOOL)switchToEQAtIndex:(int)index;
+/*!
+ * @method makePlaylistWithTerm:ofType:
+ */
+- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type;
+
@end
/*!