cog/Plugins/CueSheet/CueSheet.h

31 lines
682 B
C
Raw Normal View History

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