5 * Helper class for keeping track of sources, playlists and folders.
7 * Copyright (c) 2005 iThink Software
11 #import <Cocoa/Cocoa.h>
12 #import <ITMTRemote/ITMTRemote.h>
20 ITMTPurchasedMusicNode,
24 @interface PlaylistNode : NSObject
28 ITMTRemotePlayerSource _sourceType;
29 NSMutableArray *_children;
30 PlaylistNode *_parent;
33 + (PlaylistNode *)playlistNodeWithName:(NSString *)n type:(ITMTNodeType)t index:(int)i;
35 - (id)initWithName:(NSString *)n type:(ITMTNodeType)t index:(int)i;
38 - (NSMutableArray *)children;
41 - (void)setType:(ITMTNodeType)t;
44 - (PlaylistNode *)parent;
45 - (void)setParent:(PlaylistNode *)p;
47 - (ITMTRemotePlayerSource)sourceType;
48 - (void)setSourceType:(ITMTRemotePlayerSource)t;