cog/Plugins/CueSheet/CueSheet.h

31 lines
682 B
Objective-C

//
// 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;
}
+ (id)cueSheetWithFile:(NSString *)filename;
+ (id)cueSheetWithString:(NSString *)cuesheet withFilename:(NSString *)filename;
- (id)initWithFile:(NSString *)filename;
- (id)initWithString:(NSString *)cuesheet withFilename:(NSString *)filename;
- (void)parseFile:(NSString *)filename;
- (void)parseString:(NSString *)contents withFilename:(NSString *)filename;
- (NSArray *)tracks;
- (CueSheetTrack *)track:(NSString *)fragment;
@end