4 * Helper class for keeping track of sources, playlists and folders
6 * Original Author : Kent Sutherland <ksuther@ithinksw.com>
7 * Responsibility : Kent Sutherland <ksuther@ithinksw.com>
9 * Copyright (c) 2005 iThink Software.
14 #import <Cocoa/Cocoa.h>
15 #import <ITMTRemote/ITMTRemote.h>
23 ITMTPurchasedMusicNode,
27 @interface PlaylistNode : NSObject
31 ITMTRemotePlayerSource _sourceType;
32 NSMutableArray *_children;
33 PlaylistNode *_parent;
36 + (PlaylistNode *)playlistNodeWithName:(NSString *)n type:(ITMTNodeType)t index:(int)i;
38 - (id)initWithName:(NSString *)n type:(ITMTNodeType)t index:(int)i;
41 - (NSMutableArray *)children;
44 - (void)setType:(ITMTNodeType)t;
47 - (PlaylistNode *)parent;
48 - (void)setParent:(PlaylistNode *)p;
50 - (ITMTRemotePlayerSource)sourceType;
51 - (void)setSourceType:(ITMTRemotePlayerSource)t;