home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / felixcad / fcaddata.z / FDTCODES.H < prev    next >
C/C++ Source or Header  |  1996-12-17  |  2KB  |  67 lines

  1. /****************************************************************************
  2.                 (C) FELIX Computer Aided Technologies GmbH 1995
  3.  
  4. Module:         Definition of result types and error codes for FDT
  5. File:           fdtcodes.h
  6. Author:         R. Nuernberger
  7. Date:           Oct. 21, 1993
  8. Changed:       
  9. ****************************************************************************/
  10.  
  11. #ifndef _fdtcodes_h
  12. #define _fdtcodes_h 
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. /* Byte Alignment 2 */
  19. #pragma pack(2)
  20.  
  21. /* Result types for the field restype im result buffer resbuf */
  22.  
  23. #define RTNONE    5000                /* No result */
  24. #define RTREAL    5001                /* Real */
  25. #define RTPOINT   5002                /* 2D point */
  26. #define RTSHORT   5003                /* Short Int */
  27. #define RTANG     5004                /* Angle */
  28. #define RTSTR     5005                /* String */
  29. #define RTENAME   5006                /* Entity Name */
  30. #define RTPICKS   5007                /* Selection Set (pick set) */
  31. #define RTORINT   5008                /* Orientation */
  32. #define RT3DPOINT 5009                /* 3D point */
  33. #define RTLONG    5010                /* Long int */
  34. #define RTVOID    5014                /* Void */
  35. #define RTLB      5016                /* List bottom */
  36. #define RTLE      5017                /* List end */
  37. #define RTDOTE    5018                /* Dotted pair (FLISP) */
  38. #define RTNIL     5019                /* NIL (FLISP) */
  39. #define RTDXF0    5020                /* DXF Code 0, for fdt_buildlist only */
  40. #define RTT       5021                /* T atom (True) */
  41. #define RTBINARY  5022                /* Chunk in XDATA */
  42. #define RTFUNC    5023                /* Function */
  43.  
  44. /* Status return codes of the FDT application */
  45.  
  46. #define RTNORM    5100                /* Normal termination */
  47.  
  48. #define RTMEMERR -5000                /* Global memory error */
  49. #define RTERROR  -5001                /* General error occured */
  50. #define RTCAN    -5002                /* User cancelled by ESC */
  51. #define RTKWORD  -5003                /* Keyword of an getxxx() function */
  52.  
  53. /* Control code for FDT application registration */
  54. #define RTLOADONCALL 0
  55. #define RTPRELOAD    1
  56.  
  57. /* Reset Byte Alignment */
  58. #pragma pack()
  59.  
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63.  
  64. #endif 
  65.  
  66. /* <end of file> */
  67.