Some more work on the iTunes remote... I'm starting to require testing,
[MenuTunes.git] / iTunesTrack.m
diff --git a/iTunesTrack.m b/iTunesTrack.m
new file mode 100755 (executable)
index 0000000..7b3a813
--- /dev/null
@@ -0,0 +1,24 @@
+//
+//  iTunesTrack.m
+//  MenuTunes
+//
+//  Created by Joseph Spiros on Sat Sep 06 2003.
+//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
+//
+
+#import "iTunesTrack.h"
+
+@implementation iTunesTrack
+
++ (id)trackWithDatabaseIndex:(int)index {
+    return [[[iTunesTrack alloc] initWithIndex:index] autorelease];
+}
+
+- (id)initWithDatabaseIndex:(int)index {
+    if ( ( self = [super init] ) ) {
+        _index = index;
+    }
+    return self;
+}
+
+@end