-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathSPSimplePlaylist.h
More file actions
29 lines (21 loc) · 891 Bytes
/
Copy pathSPSimplePlaylist.h
File metadata and controls
29 lines (21 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#import <Cocoa/Cocoa.h>
#import "SPPlaylist.h"
@interface SPSimplePlaylist : SPPlaylist
{
NSMutableArray* items;
}
- (instancetype) init NS_DESIGNATED_INITIALIZER;
- (instancetype) initWithCoder:(NSCoder*)coder NS_DESIGNATED_INITIALIZER;
- (void) encodeWithCoder:(NSCoder*)coder;
- (void) addItem:(SPPlaylistItem*)newItem;
- (void) removeItemsAtIndices:(NSIndexSet*)indices;
- (NSInteger) moveItemsAtIndices:(NSIndexSet*)indices toIndex:(NSInteger)index;
- (void) shuffleMe;
@property (NS_NONATOMIC_IOSONLY, copy) NSMutableArray *items;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSData *dataRepresentation;
@property (NS_NONATOMIC_IOSONLY, readonly) BOOL saveToFile;
+ (NSString*) fileExtension;
+ (SPSimplePlaylist*) playlistFromData:(NSData*)data;
+ (SPSimplePlaylist*) playlistFromFile:(NSString*)path;
+ (SPSimplePlaylist*) playlistFromSidplay3File:(NSString*)path;
@end