VocalEasel/Sources/VLDocument.h
2007-01-12 09:01:19 +00:00

66 lines
1.4 KiB
Objective-C

//
// MyDocument.h
// Vocalese
//
// Created by Matthias Neeracher on 12/17/05.
// Copyright __MyCompanyName__ 2005 . All rights reserved.
//
#import "VLModel.h"
#import <Cocoa/Cocoa.h>
#import "VLKeyValueUndo.h"
@class VLSheetWindow;
@class VLPDFWindow;
@class VLLogWindow;
@interface VLDocument : NSDocument
{
VLSong * song;
NSString * lilypondTemplate;
NSString * songTitle;
NSString * songLyricist;
NSString * songComposer;
NSString * songArranger;
NSString * songGroove;
NSNumber * songTempo;
NSString * tmpPath;
NSFileWrapper * vcsWrapper;
int repeatVolta;
VLSheetWindow * sheetWin;
VLLogWindow * logWin;
VLPDFWindow * pdfWin;
VLKeyValueUndo* undo;
}
- (VLSong *) song;
- (NSNumber *) songKey;
- (NSNumber *) songTime;
- (NSNumber *) songDivisions;
- (int) repeatVolta;
- (void) setKey:(int)key transpose:(BOOL)transpose;
- (void) setTimeNum:(int)num denom:(int)denom;
- (void) setDivisions:(int)divisions;
- (void) setRepeatVolta:(int)repeatVolta;
- (IBAction) engrave:(id)sender;
- (IBAction) showOutput:(id)sender;
- (IBAction) showLog:(id)sender;
- (NSString *) tmpPath;
- (NSString *) workPath;
- (NSString *) baseName;
- (NSURL *) fileURLWithExtension:(NSString*)extension;
- (NSTask *) taskWithLaunchPath:(NSString *)path arguments:(NSArray *)args;
- (void) changedFileWrapper;
- (void) willChangeSong;
- (void) didChangeSong;
@end
// Local Variables:
// mode:ObjC
// End: