00001 /* 00002 $Id: MKScorefileObject.h 1589 2001-09-06 21:27:48Z leighsmith $ 00003 Defined In: The MusicKit 00004 00005 Description: 00006 This file describes an abstract interface for supplying your own Objects 00007 to be read/written from/to MKScorefiles. 00008 00009 The object may be of any class, but must be able to write itself 00010 out in ASCII when sent the message -writeASCIIStream:. 00011 It may write itself any way it wants, as long as it can also read 00012 itself when sent the message -readASCIIStream:. 00013 The only restriction on these methods is that the ASCII representation 00014 should not contain the character ']'. 00015 00016 Original Author: David Jaffe 00017 00018 Copyright (c) 1988-1992, NeXT Computer, Inc. 00019 Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT 00020 Portions Copyright (c) 1994 Stanford University 00021 Portions Copyright (c) 1999-2001, The MusicKit Project. 00022 */ 00023 /* 00024 Modification history: 00025 00026 $Log$ 00027 Revision 1.3 2001/09/06 21:27:48 leighsmith 00028 Merged RTF Reference documentation into headerdoc comments and prepended MK to any older class names 00029 00030 Revision 1.2 2000/04/26 01:20:01 leigh 00031 Corrected readASCIIStream to take a NSData instead of NSMutableData instance 00032 00033 Revision 1.1 2000/04/16 04:07:57 leigh 00034 Renamed scorefileObject to MKScorefileObject headers 00035 00036 Revision 1.2 1999/07/29 01:26:16 leigh 00037 Added Win32 compatibility, CVS logs, SBs changes 00038 00039 */ 00040 #ifndef __MK_scorefileObject_H___ 00041 #define __MK_scorefileObject_H___ 00042 00043 #import <Foundation/NSObject.h> 00044 @interface MKScorefileObject: NSObject 00045 -readASCIIStream: (NSData *) aStream; 00046 -writeASCIIStream: (NSMutableData *) aStream; 00047 @end 00048 00049 00050 00051 #endif