X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/6162e11fb9ec9ca0f4add4d5838e98a31ead4a21..4ceec63fa54ca0281b26107bcfc78617c9854d4c:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index 7abcedf..cd79315 100755 --- a/ITMTRemote.h +++ b/ITMTRemote.h @@ -1,17 +1,14 @@ /* - * MenuTunes - * ITMTRemote - * Plugin definition for audio player control via MenuTunes + * MenuTunes + * ITMTRemote.h * - * Original Author : Matt Judy - * Responsibility : Matt Judy - * - * 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 * */ @@ -204,6 +201,16 @@ er's process managment. */ - (NSArray *)playlists; +/*! + * @method artists + */ +- (NSArray *)artists; + +/*! + * @method albums + */ +- (NSArray *)albums; + /*! * @method numberOfSongsInPlaylistAtIndex: */ @@ -234,6 +241,11 @@ er's process managment. */ - (NSString *)songTitleAtIndex:(int)index; +/*! + * @method songEnabledAtIndex: + */ +- (BOOL)songEnabledAtIndex:(int)index; + /*! * @method currentAlbumTrackCount: */ @@ -284,6 +296,16 @@ er's process managment. */ - (NSString *)currentSongLength; +/*! + * @method currentSongPlayed + */ +- (int)currentSongPlayed; + +/*! + * @method currentSongDuration + */ +- (int)currentSongDuration; + /*! * @method currentSongRemaining */ @@ -314,6 +336,16 @@ er's process managment. */ - (BOOL)setCurrentSongRating:(float)rating; +/*! + * @method currentSongShuffable + */ +- (BOOL)currentSongShufflable; + +/*! + * @method setCurrentSongShuffable: + */ +- (BOOL)setCurrentSongShufflable:(BOOL)shufflable; + /*! * @method equalizerEnabled */ @@ -414,6 +446,11 @@ er's process managment. */ - (BOOL)switchToEQAtIndex:(int)index; +/*! + * @method makePlaylistWithTerm:ofType: + */ +- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type; + @end /*!