Adding initial work on new plugin API. THIS BREAKS MT. We are working to
[MenuTunes.git] / ITMTTrack.h
1 /****************************************
2     ITMTRemote 1.0 (MenuTunes Remotes)
3     ITMTTrack.h
4     
5     Responsibility:
6         Joseph Spiros <joseph.spiros@ithinksw.com>
7     
8     Copyright (c) 2002 - 2003 by iThink Software.
9     All Rights Reserved.
10 ****************************************/
11
12 #import <Cocoa/Cocoa.h>
13
14 #import <ITMTRemote/ITMTRemote.h>
15
16 @protocol ITMTTrack
17 - (BOOL)addToPlaylist:(ITMTPlaylist *)playlist;
18 - (BOOL)addToPlaylist:(ITMTPlaylist *)playlist atIndex:(int)index;
19
20 - (ITMTPlayer *)player;
21 - (NSArray *)playlists;
22
23 - (BOOL)setValue:(id)value forProperty:(ITMTTrackProperty)property; // setting nil as value removes value completely
24 - (id)valueOfProperty:(ITMTTrackProperty)property;
25 - (NSDictionary *)propertiesAndValues;
26 @end
27
28 @interface ITMTTrack : NSObject
29 @end