home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 720 / PDF090B4-SorceCode / pdf / Error.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-30  |  843 b   |  42 lines

  1. //========================================================================
  2. //
  3. // Error.h
  4. //
  5. // Copyright 1996 Derek B. Noonburg
  6. //
  7. //========================================================================
  8. //
  9. // Ported to EPOC by Sander van der Wal
  10. //
  11. // $Id: Error.h 1.2 2000-09-17 13:38:19+02 svdwal Exp svdwal $
  12.  
  13. #ifndef ERROR_H
  14. #define ERROR_H
  15.  
  16. #ifdef __GNUC__
  17. #pragma interface
  18. #endif
  19.  
  20. #include <stdio.h>
  21. #include "config.h"
  22.  
  23. #ifndef __SYMBIAN32__
  24.  
  25. // File to send error (and other) messages to.
  26. extern FILE *errFile;
  27.  
  28. extern void errorInit();
  29.  
  30. #else
  31. #  define errorInit()
  32. #endif
  33.  
  34. #ifndef __SYMBIAN32__
  35. extern void CDECL error(int pos, char *msg, ...);
  36. #else
  37. extern void CDECL error(int aPos, int aResourceId, ...);
  38. extern void CDECL error(int aPos, int aResourceId, VA_LIST args);
  39. #endif
  40.  
  41. #endif
  42.