home *** CD-ROM | disk | FTP | other *** search
- //========================================================================
- //
- // Error.h
- //
- // Copyright 1996 Derek B. Noonburg
- //
- //========================================================================
- //
- // Ported to EPOC by Sander van der Wal
- //
- // $Id: Error.h 1.2 2000-09-17 13:38:19+02 svdwal Exp svdwal $
-
- #ifndef ERROR_H
- #define ERROR_H
-
- #ifdef __GNUC__
- #pragma interface
- #endif
-
- #include <stdio.h>
- #include "config.h"
-
- #ifndef __SYMBIAN32__
-
- // File to send error (and other) messages to.
- extern FILE *errFile;
-
- extern void errorInit();
-
- #else
- # define errorInit()
- #endif
-
- #ifndef __SYMBIAN32__
- extern void CDECL error(int pos, char *msg, ...);
- #else
- extern void CDECL error(int aPos, int aResourceId, ...);
- extern void CDECL error(int aPos, int aResourceId, VA_LIST args);
- #endif
-
- #endif
-