2007-10-09 02:25:40 +00:00
|
|
|
//
|
|
|
|
// CueSheet.h
|
|
|
|
// CueSheet
|
|
|
|
//
|
|
|
|
// Created by Zaphod Beeblebrox on 10/8/07.
|
|
|
|
// Copyright 2007 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@class CueSheetTrack;
|
|
|
|
|
|
|
|
@interface CueSheet : NSObject {
|
|
|
|
NSArray *tracks;
|
|
|
|
}
|
|
|
|
|
2022-02-07 05:49:27 +00:00
|
|
|
+ (id)cueSheetWithFile:(NSString *)filename;
|
|
|
|
+ (id)cueSheetWithString:(NSString *)cuesheet withFilename:(NSString *)filename;
|
2007-10-09 02:25:40 +00:00
|
|
|
|
|
|
|
- (id)initWithFile:(NSString *)filename;
|
2022-01-15 00:46:35 +00:00
|
|
|
- (id)initWithString:(NSString *)cuesheet withFilename:(NSString *)filename;
|
2007-10-09 02:25:40 +00:00
|
|
|
|
2007-10-10 01:59:25 +00:00
|
|
|
- (void)parseFile:(NSString *)filename;
|
2022-01-15 00:46:35 +00:00
|
|
|
- (void)parseString:(NSString *)contents withFilename:(NSString *)filename;
|
2007-10-10 01:59:25 +00:00
|
|
|
|
2007-10-09 02:25:40 +00:00
|
|
|
- (NSArray *)tracks;
|
|
|
|
|
|
|
|
- (CueSheetTrack *)track:(NSString *)fragment;
|
|
|
|
|
|
|
|
@end
|