home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / intuition / classusr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  1.7 KB  |  103 lines

  1. #ifndef INTUITION_CLASSUSR_H
  2. #define INTUITION_CLASSUSR_H 1
  3. /*
  4. ** $Filename: intuition/classusr.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.2 $
  7. ** $Date: 91/11/08 $
  8. **
  9. ** For application users of Intuition object classes
  10. **
  11. ** (C) Copyright 1989-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15.  
  16. #ifndef UTILITY_HOOKS_H
  17. #include <utility/hooks.h>
  18. #endif
  19.  
  20.  
  21. typedef ULONG Object; 
  22.  
  23. typedef UBYTE *ClassID;
  24.  
  25.  
  26. typedef struct {
  27.  ULONG MethodID;
  28.  
  29. } *Msg;
  30.  
  31.  
  32. #define ROOTCLASS "rootclass" 
  33. #define IMAGECLASS "imageclass" 
  34. #define FRAMEICLASS "frameiclass"
  35. #define SYSICLASS "sysiclass"
  36. #define FILLRECTCLASS "fillrectclass"
  37. #define GADGETCLASS "gadgetclass" 
  38. #define PROPGCLASS "propgclass"
  39. #define STRGCLASS "strgclass"
  40. #define BUTTONGCLASS "buttongclass"
  41. #define FRBUTTONCLASS "frbuttonclass"
  42. #define GROUPGCLASS "groupgclass"
  43. #define ICCLASS "icclass" 
  44. #define MODELCLASS "modelclass"
  45.  
  46.  
  47.  
  48.  
  49. #define OM_Dummy (0x100)
  50. #define OM_NEW (0x101) 
  51. #define OM_DISPOSE (0x102) 
  52. #define OM_SET (0x103) 
  53. #define OM_GET (0x104) 
  54. #define OM_ADDTAIL (0x105) 
  55. #define OM_REMOVE (0x106) 
  56. #define OM_NOTIFY (0x107) 
  57. #define OM_UPDATE (0x108) 
  58. #define OM_ADDMEMBER (0x109) 
  59. #define OM_REMMEMBER (0x10A) 
  60.  
  61.  
  62.  
  63.  
  64. struct opSet {
  65.  ULONG MethodID;
  66.  struct TagItem *ops_AttrList; 
  67.  struct GadgetInfo *ops_GInfo; 
  68. };
  69.  
  70.  
  71. struct opUpdate {
  72.  ULONG MethodID;
  73.  struct TagItem *opu_AttrList; 
  74.  struct GadgetInfo *opu_GInfo; 
  75.  ULONG opu_Flags; 
  76. };
  77.  
  78.  
  79. #define OPUF_INTERIM (1<<0)
  80.  
  81.  
  82. struct opGet {
  83.  ULONG MethodID;
  84.  ULONG opg_AttrID;
  85.  ULONG *opg_Storage; 
  86. };
  87.  
  88.  
  89. struct opAddTail {
  90.  ULONG MethodID;
  91.  struct List *opat_List;
  92. };
  93.  
  94.  
  95. #define opAddMember opMember
  96. struct opMember {
  97.  ULONG MethodID;
  98.  Object *opam_Object;
  99. };
  100.  
  101.  
  102. #endif
  103.