4f453075af100d406c3b249fb38855740e0fd039
[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)writable;
18
19 - (BOOL)addToPlaylist:(ITMTPlaylist *)playlist;
20 - (BOOL)addToPlaylist:(ITMTPlaylist *)playlist atIndex:(int)index;
21
22 - (ITMTPlayer *)player;
23 - (NSArray *)playlists;
24
25 - (BOOL)setValue:(id)value forProperty:(ITMTTrackProperty)property; // setting nil as value removes value completely
26 - (id)valueOfProperty:(ITMTTrackProperty)property;
27 - (NSDictionary *)propertiesAndValues;
28 @end
29
30 @interface ITMTTrack : NSObject
31 @end