home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Programming / MR_Classes / Dev / Source / supermodel / supermodel.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-30  |  1.2 KB  |  56 lines

  1. #ifndef SUPERMODEL_H
  2. #define SUPERMODEL_H
  3.  
  4. #ifndef INTUITION_CLASSUSR_H
  5. #include <intuition/classusr.h>
  6. #endif
  7.  
  8. #ifndef INTUITION_CLASSES_H
  9. #include <intuition/classes.h>
  10. #endif
  11.  
  12. #ifndef EXEC_LISTS_H
  13. #include <exec/lists.h>
  14. #endif
  15.  
  16. #ifndef UTILITY_TAGITEM_H
  17. #include <utility/tagitem.h>
  18. #endif
  19.  
  20. extern Class *SuperModelClass,
  21.              *SuperICClass;
  22.  
  23.  
  24. struct SuperModelData
  25. {
  26.   struct List Members;
  27.   ULONG __asm (*GlueFunc)(register __a0 struct smGlueData *GD, 
  28.                           register __a1 struct TagItem    *TagList, 
  29.                           register __a2 APTR UserData,
  30.                           register __a6 APTR LibBase);
  31.   /*
  32.   ULONG __asm (*GlueFunc)(register __a0 Class *CL, 
  33.                           register __a2 Object *O, 
  34.                           register __a1 struct opSet *Set, 
  35.                           register __a3 APTR UserData,
  36.                           register __a6 APTR LibBase);
  37.                           */
  38.   ULONG A6;
  39.   APTR UserData;
  40.   struct TagItem *CachedStringTags;
  41. };
  42.  
  43. struct SuperICData
  44. {
  45.   struct TagItem ID;    // ignore update if this pair is found
  46.   Object *Model;
  47.   struct TagItem *Map;  // Map Tags
  48.  
  49.   Object *Target;
  50.   struct TagItem *TMap;
  51.  
  52.   BOOL Notify;
  53. };
  54.  
  55. #endif /* SUPERMODEL_H */
  56.