home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / pIntui / IClass.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  1.8 KB  |  72 lines

  1. #ifndef __INC_POS_PINTUI_ICLASS_H
  2. #define __INC_POS_PINTUI_ICLASS_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>IClass.h<<   05 Aug 1996    08:12:27 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_CLASS_H
  12. #include <pExec/Class.h>
  13. #endif
  14. #ifndef __INC_POS_PINTUI_ICI_H
  15. #include <pIntui/ICI.h>
  16. #endif
  17.  
  18. /*----------------------------------
  19. -----------------------------------*/
  20. struct pOS_IntuiMethod
  21. {
  22.   ULONG  imth_Method;  /* (enum pOS_IntuiClassMethods) */
  23.  
  24.   union {
  25.     struct { /* ICLMTH_New */
  26.             ULONG               *imnw_Pad;
  27.       const struct pOS_TagItem  *imnw_Tags;
  28.     } imth_New;
  29.  
  30.     /* ICLMTH_Dispose */
  31.  
  32.     struct { /* ICLMTH_Set */
  33.       const struct pOS_IClassInfo *imst_Info;
  34.       const struct pOS_TagItem    *imst_Tags;
  35.     } imth_Set;
  36.  
  37.     struct { /* ICLMTH_Notify */
  38.       const struct pOS_IClassInfo *imny_Info;
  39.       const struct pOS_TagItem    *imny_Tags;
  40.             ULONG                  imny_Flags;
  41.     } imth_Notify;
  42.  
  43.     struct { /* ICLMTH_Update */
  44.       const struct pOS_IClassInfo *imud_Info;
  45.       const struct pOS_TagItem    *imud_Tags;
  46.             ULONG                  imud_Flags;
  47.     } imth_Update;
  48.  
  49.     struct { /* ICLMTH_Get */
  50.             ULONG    imgt_ID;
  51.             ULONG   *imgt_Variable;
  52.     } imth_Get;
  53.  
  54.   } imth_U;
  55. };
  56.  
  57.  
  58. enum pOS_IntuiClassMethods
  59. {
  60.   ICLMTH_Dummy=0x100,
  61.   ICLMTH_New,          /* construct */
  62.   ICLMTH_Dispose,      /* destruct */
  63.   ICLMTH_Set,          /* set attributes (in tag list) */
  64.   ICLMTH_Get,          /* return single attribute value */
  65.   ICLMTH_Notify,       /* */
  66.   ICLMTH_Update,       /* update object */
  67. };
  68.  
  69.  
  70.  
  71. #endif
  72.