- * MenuTunes
- * ITMTRemote
- * Plugin definition for audio player control via MenuTunes
- *
- * Original Author : Matt Judy <mjudy@ithinksw.com>
- * Responsibility : Matt Judy <mjudy@ithinksw.com>
- *
- * Copyright (c) 2002 - 2003 iThink Software.
- * All Rights Reserved
- *
- * 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.
- *
- */
-
-/*
- * TO DO:
- *
- * - Capability methods
- *
- */
-
-#import <Cocoa/Cocoa.h>
+ iThink Software
+ MenuTunes SDK BETA (SUBJECT TO CHANGE)
+ ITMTRemote.h
+
+ Copyright 2003 by iThink Software, All Rights Reserved.
+ This is under Non-Disclosure
+*/
+
+/*
+ Remotes need to include an Info.plist in their
+ bundle/wrapper. It needs to have the following keys
+ (with string values):
+
+ ITMTRemoteName
+ ITMTRemoteVersion
+ ITMTRemotePublisher
+ ITMTRemoteCopyright
+ ITMTRemoteDescription
+ ITMTRemoteIconFile
+
+ It also needs to have an icon file who's filename (Relative)
+ is indicated in the ITMTRemoteIconFile value.
+*/
+
+
+#import <Foundation/Foundation.h>
+
+typedef enum {
+ ITMTRemoteName,
+ ITMTRemoteVersion,
+ ITMTRemotePublisher,
+ ITMTRemoteCopyright,
+ ITMTRemoteDescription
+} ITMTRemoteInformationString;
+
+typedef enum {
+ ITMTRemotePlayerStopped = -1,
+ ITMTRemotePlayerPaused,
+ ITMTRemotePlayerPlaying,
+ ITMTRemotePlayerRewinding,
+ ITMTRemotePlayerForwarding
+} ITMTRemoteControlState;
+
+typedef enum {
+ ITMTRemoteStop = -1,
+ ITMTRemotePause,
+ ITMTRemotePlay,
+ ITMTRemoteRewind,
+ ITMTRemoteFastForward,
+ ITMTRemotePreviousTrack,
+ ITMTRemoteNextTrack
+} ITMTRemoteControlAction;
+
+typedef enum {
+ ITMTRemoteSinglePlaylist,
+ ITMTRemoteLibraryAndPlaylists,
+ ITMTRemoteSeperatePlaylists
+} ITMTRemotePlaylistMode;
+
+typedef enum {
+ ITMTRemoteTrackName,
+ ITMTRemoteTrackArtist,
+ ITMTRemoteTrackAlbum,
+ ITMTRemoteTrackComposer,
+ ITMTRemoteTrackNumber,
+ ITMTRemoteTrackTotal,
+ ITMTRemoteTrackComment,
+ ITMTRemoteTrackGenre,
+ ITMTRemoteTrackYear,
+ ITMTRemoteTrackRating,
+ ITMTRemoteTrackArt
+} ITMTRemoteTrackProperty;
+
+typedef enum {
+ ITMTRemoteRepeatNone,
+ ITMTRemoteRepeatAll,
+ ITMTRemoteRepeatOne
+} ITMTRemoteRepeatMode;
+
+enum {
+ ITMTRemoteCustomPreset = -1;
+}