Adding initial work on new plugin API. THIS BREAKS MT. We are working to
[MenuTunes.git] / ITMTTrack.h
diff --git a/ITMTTrack.h b/ITMTTrack.h
new file mode 100755 (executable)
index 0000000..2ddda6d
--- /dev/null
@@ -0,0 +1,29 @@
+/****************************************
+    ITMTRemote 1.0 (MenuTunes Remotes)
+    ITMTTrack.h
+    
+    Responsibility:
+        Joseph Spiros <joseph.spiros@ithinksw.com>
+    
+    Copyright (c) 2002 - 2003 by iThink Software.
+    All Rights Reserved.
+****************************************/
+
+#import <Cocoa/Cocoa.h>
+
+#import <ITMTRemote/ITMTRemote.h>
+
+@protocol ITMTTrack
+- (BOOL)addToPlaylist:(ITMTPlaylist *)playlist;
+- (BOOL)addToPlaylist:(ITMTPlaylist *)playlist atIndex:(int)index;
+
+- (ITMTPlayer *)player;
+- (NSArray *)playlists;
+
+- (BOOL)setValue:(id)value forProperty:(ITMTTrackProperty)property; // setting nil as value removes value completely
+- (id)valueOfProperty:(ITMTTrackProperty)property;
+- (NSDictionary *)propertiesAndValues;
+@end
+
+@interface ITMTTrack : NSObject
+@end
\ No newline at end of file