MusicKit  0.0.0
NotePrivate.h
00001 /* Copyright 1988-1992, NeXT Inc.  All rights reserved. */
00002 /*
00003   $Id$
00004   Defined In: The MusicKit
00005 */
00006 /*
00007   $Log$
00008   Revision 1.3  2006/02/05 17:57:10  leighsmith
00009   Cleaned up prototypes for Xcode 2.2 as it is much more strict about mixing id with a defined type
00010 
00011   Revision 1.2  1999/07/29 01:25:54  leigh
00012   Added Win32 compatibility, CVS logs, SBs changes
00013 
00014 */
00015 #ifndef __MK__Note_H___
00016 #define __MK__Note_H___
00017 
00018 #import "MKNote.h"
00019 
00020 #import "_MKParameter.h"
00021 
00022 /* Note functions */
00023 extern void _MKSetNoteType(MKNote *aNote, MKNoteType aType);
00024 extern void _MKSetNoteTag(MKNote *aNote, int aTag);
00025 extern void _MKSetNoteDur(MKNote *aNote, double dur);
00026 extern int  _MKGetPar(NSString *aName, id *aPar);
00027 extern id   _MKWriteNote2(MKNote *aNote, id aPart, _MKScoreOutStruct *p);
00028 extern int  _MKNoteCompare(const void *el1, const void *el2);
00029 extern void _MKMakePlaceHolder(MKNote *aNote);
00030 extern BOOL _MKNoteIsPlaceHolder(MKNote *aNote);
00031 extern void _MKWriteParameters(MKNote *aNote, NSMutableData *aStream, _MKScoreOutStruct *p);
00032 extern void _MKNoteAddParameter(id aNote, _MKParameter *aPar);
00033 extern void _MKNoteSetMatchTimeTag(id aNote, BOOL yesOrNo);
00034 extern void _MKNoteShiftTimeTag(MKNote *aNote, double timeShift);
00035 
00036 @interface MKNote(Private)
00037 
00038 -_unionWith:aNote;
00039 -_splitNoteDurNoCopy;
00040 -(void)_setPerformer:anObj;
00041 - _setPartLink:aPart order:(int)theOrder;
00042 -_noteOffForNoteDur;
00043 
00044 @end
00045 
00046 #endif