home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / Software / Komercni / VAgeJava / ivj35 / setup / IDE.Cab / F10062_ITRCSTRT.H < prev    next >
C/C++ Source or Header  |  2000-07-28  |  2KB  |  89 lines

  1. #ifndef ITRCSTRT_H
  2. #define ITRCSTRT_H
  3.  
  4.  
  5. /* Basic header declaration */
  6. struct InsEventHeader {
  7.     unsigned long event;
  8.     unsigned long vmID;
  9. };
  10.  
  11. /* Event types */
  12. struct InsEventTypeMethod {
  13.     unsigned long methodEventFlags;
  14.     unsigned long stackDepth;
  15.     unsigned long receiver;
  16.     char *methodName;
  17.     unsigned long methodNameSize;
  18.     char *className;
  19.     unsigned long classNameSize;
  20. };
  21. struct InsEventTypeOIDRename {
  22.     unsigned long source;
  23.     unsigned long destination;
  24. };
  25. struct InsEventTypeOIDRangeRename {
  26.     unsigned long sourceStart;
  27.     unsigned long sourceEnd;
  28.     unsigned long destination;
  29. };
  30. struct InsEventTypeOIDDelete {
  31.     unsigned long oid;
  32. };
  33. struct InsEventTypeOIDRangeDelete {
  34.     unsigned long start;
  35.     unsigned long end;
  36. };
  37. struct InsEventTypeAllocObj { /* Private */
  38.     unsigned long allocEventFlags;
  39.     char *className;
  40.     unsigned long classNameSize;
  41. };
  42. struct InsEventTypeAllocArrObj { /* Private */
  43.     char *className;
  44.     unsigned long classNameSize;
  45.     unsigned long arity;
  46. };
  47. struct InsEventTypeAllocate {
  48.     unsigned long oid;
  49.     unsigned long sizeInLongs;
  50.     unsigned long arrayFlag;
  51.     union {
  52.         struct InsEventTypeAllocObj object;
  53.         struct InsEventTypeAllocArrObj array;
  54.     } allocBody;
  55. };
  56. struct InsEventTypeStartFieldReport {
  57.     unsigned long oid;
  58.     unsigned long type;
  59.     unsigned long reportEventFlags;
  60.     char *className;
  61.     unsigned long classNameSize;
  62. };
  63. struct InsEventTypeFieldReport {
  64.     unsigned long oid;
  65. };
  66. struct InsEventTypeUserEvent {
  67.     unsigned long msgEventFlags;
  68.     char *msg;
  69.     unsigned long msgSize;
  70. };
  71.  
  72. struct InsEventInfo {
  73.     struct InsEventHeader header;
  74.     union {
  75.         struct InsEventTypeMethod method;
  76.         struct InsEventTypeOIDRename oidRename;
  77.         struct InsEventTypeOIDRangeRename oidRangeRename;
  78.         struct InsEventTypeOIDDelete oidDelete;
  79.         struct InsEventTypeOIDRangeDelete oidRangeDelete;
  80.         struct InsEventTypeAllocate allocate;
  81.         struct InsEventTypeStartFieldReport startFieldReport;
  82.         struct InsEventTypeFieldReport fieldReport;
  83.         struct InsEventTypeUserEvent user;
  84.     } body;
  85. };
  86.  
  87.  
  88. #endif /* ITRCSTRT_H */
  89.