VocalEasel/Sources/VLDocument.h

38 lines
670 B
C
Raw Normal View History

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>
@interface VLEditable : NSObject
{
}
- (NSString *) stringValue;
- (void) setStringValue:(NSString*)val;
- (BOOL) validValue:(NSString*)val;
@end
2006-09-11 02:49:56 +00:00
@interface VLDocument : NSDocument
{
VLSong * song;
2006-10-03 17:52:54 +00:00
VLEditable *editTarget;
2006-09-11 02:49:56 +00:00
}
- (VLSong *) song;
- (NSNumber *) songKey;
- (NSNumber *) songTime;
- (NSNumber *) songDivisions;
- (void) setKey:(int)key transpose:(BOOL)transpose;
- (void) setTimeNum:(int)num denom:(int)denom;
- (void) setDivisions:(int)divisions;
2006-10-03 17:52:54 +00:00
2006-09-11 02:49:56 +00:00
@end