Some more work on the iTunes remote... I'm starting to require testing,
[MenuTunes.git] / iTunesTrack.m
1 //
2 //  iTunesTrack.m
3 //  MenuTunes
4 //
5 //  Created by Joseph Spiros on Sat Sep 06 2003.
6 //  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
7 //
8
9 #import "iTunesTrack.h"
10
11 @implementation iTunesTrack
12
13 + (id)trackWithDatabaseIndex:(int)index {
14     return [[[iTunesTrack alloc] initWithIndex:index] autorelease];
15 }
16
17 - (id)initWithDatabaseIndex:(int)index {
18     if ( ( self = [super init] ) ) {
19         _index = index;
20     }
21     return self;
22 }
23
24 @end