MusicKit  0.0.0
_error.h
00001 /* Copyright 1988-1992, NeXT Inc.  All rights reserved. */
00002 /*
00003   $Id$
00004   Defined In: The MusicKit
00005 */
00006 /*
00007 Modification history:
00008 
00009   $Log$
00010   Revision 1.3  2002/01/29 16:04:51  sbrandon
00011   changed declaration of _MK_ERRMSG to use NSString
00012 
00013   Revision 1.2  1999/07/29 01:26:02  leigh
00014   Added Win32 compatibility, CVS logs, SBs changes
00015 
00016   daj/04/23/90 - Created from _musickit.h 
00017 */
00018 #ifndef __MK__error_H___
00019 #define __MK__error_H___
00020 
00021 #define _MK_ERRMSG static NSString * 
00022 
00023 #import "errors.h"
00024 
00025 extern NSString * _MKGetErrStr(int errCode);
00026     /* Returns the error string for the given code or "unknown error" if
00027        the code is not one of the  MKErrno enums. 
00028        The string is not copied. Note that some of the strings have printf-
00029        style 'arguments' embeded. Thus care must be taken in writeing them. */
00030 extern char *_MKErrBuf();
00031 
00032 
00033 #endif