2006-09-11 02:49:56 +00:00
|
|
|
//
|
|
|
|
// MyDocument.h
|
|
|
|
// Vocalese
|
|
|
|
//
|
|
|
|
// Created by Matthias Neeracher on 12/17/05.
|
|
|
|
// Copyright __MyCompanyName__ 2005 . All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "VLModel.h"
|
2006-10-03 17:52:54 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2006-12-04 07:04:24 +00:00
|
|
|
#import "VLKeyValueUndo.h"
|
2006-10-03 17:52:54 +00:00
|
|
|
|
2006-10-28 09:18:55 +00:00
|
|
|
@class VLSheetWindow;
|
|
|
|
@class VLPDFWindow;
|
|
|
|
@class VLLogWindow;
|
2006-09-11 02:49:56 +00:00
|
|
|
|
|
|
|
@interface VLDocument : NSDocument
|
|
|
|
{
|
2006-10-28 09:18:55 +00:00
|
|
|
VLSong * song;
|
|
|
|
NSString * lilypondTemplate;
|
|
|
|
NSString * songTitle;
|
|
|
|
NSString * songLyricist;
|
|
|
|
NSString * songComposer;
|
|
|
|
NSString * songArranger;
|
2006-11-04 08:15:34 +00:00
|
|
|
NSString * songGroove;
|
|
|
|
NSNumber * songTempo;
|
2006-11-10 08:09:18 +00:00
|
|
|
NSString * tmpPath;
|
2006-11-17 08:57:29 +00:00
|
|
|
NSFileWrapper * vcsWrapper;
|
2006-12-30 09:57:40 +00:00
|
|
|
int repeatVolta;
|
2006-10-28 09:18:55 +00:00
|
|
|
|
|
|
|
VLSheetWindow * sheetWin;
|
|
|
|
VLLogWindow * logWin;
|
|
|
|
VLPDFWindow * pdfWin;
|
2006-12-04 07:04:24 +00:00
|
|
|
VLKeyValueUndo* undo;
|
2006-09-11 02:49:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (VLSong *) song;
|
|
|
|
- (NSNumber *) songKey;
|
|
|
|
- (NSNumber *) songTime;
|
|
|
|
- (NSNumber *) songDivisions;
|
2006-12-30 09:57:40 +00:00
|
|
|
- (int) repeatVolta;
|
2006-09-11 02:49:56 +00:00
|
|
|
|
|
|
|
- (void) setKey:(int)key transpose:(BOOL)transpose;
|
|
|
|
- (void) setTimeNum:(int)num denom:(int)denom;
|
|
|
|
- (void) setDivisions:(int)divisions;
|
2006-12-30 09:57:40 +00:00
|
|
|
- (void) setRepeatVolta:(int)repeatVolta;
|
2006-10-03 17:52:54 +00:00
|
|
|
|
2006-10-28 09:18:55 +00:00
|
|
|
- (IBAction) engrave:(id)sender;
|
|
|
|
- (IBAction) showOutput:(id)sender;
|
|
|
|
- (IBAction) showLog:(id)sender;
|
|
|
|
|
2006-11-10 08:09:18 +00:00
|
|
|
- (NSString *) tmpPath;
|
|
|
|
- (NSString *) workPath;
|
|
|
|
- (NSString *) baseName;
|
2006-11-12 11:37:36 +00:00
|
|
|
- (NSURL *) fileURLWithExtension:(NSString*)extension;
|
|
|
|
- (NSTask *) taskWithLaunchPath:(NSString *)path arguments:(NSArray *)args;
|
2007-01-12 09:01:19 +00:00
|
|
|
- (void) changedFileWrapper;
|
2006-12-04 07:04:24 +00:00
|
|
|
- (void) willChangeSong;
|
|
|
|
- (void) didChangeSong;
|
2006-11-10 08:09:18 +00:00
|
|
|
|
2006-09-11 02:49:56 +00:00
|
|
|
@end
|
2006-11-10 08:09:18 +00:00
|
|
|
|
|
|
|
// Local Variables:
|
|
|
|
// mode:ObjC
|
|
|
|
// End:
|