Some more work on the iTunes remote... I'm starting to require testing,
[MenuTunes.git] / iTunesPlaylist.m
1 //
2 //  iTunesPlaylist.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 "iTunesPlaylist.h"
10
11
12 @implementation iTunesPlaylist
13
14 + (id)playlistWithIndex:(int)index {
15     return [[[iTunesPlaylist alloc] initWithIndex:index] autorelease];
16 }
17
18 - (id)initWithIndex:(int)index {
19     if ( ( self = [super init] ) ) {
20         _index = index;
21     }
22     return self;
23 }
24
25 @end