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

  1. #include <clib/alib_protos.h>
  2. #include <utility/tagitem.h>
  3. #include <classes/supermodel.h>
  4.  
  5. ULONG __asm LIB_SM_SuperNotifyA(register __a0 Class *CL, register __a1 Object *O, register __a2 struct opUpdate *M, register __a3 struct TagItem *TagList)
  6. {
  7.   return(DoSuperMethod(CL,O,OM_NOTIFY, TagList, M->opu_GInfo, ((M->MethodID == OM_UPDATE)?(M->opu_Flags): 0)));
  8. }
  9.  
  10. /****** supermodel.class/SM_SendGlueAttrs ******************************************
  11. *
  12. *   NAME
  13. *       SM_SendGlueAttrs -- Send attributes from GlueFunc (SMA_GlueFunc)
  14. *
  15. *   SYNOPSIS
  16. *       unknown = SM_SendGlueAttrs(GlueData, TagList)
  17. *       d0                         a0        a1
  18. *
  19. *       ULONG SM_SendGlueAttrs(struct smGlueData *, struct TagItem *);
  20. *
  21. *   FUNCTION
  22. *       This function sends TagList back to the modelclass for notification
  23. *       of other objects.
  24. *
  25. *       ONLY to be called from inside a GlueFunction.
  26. *
  27. *   INPUTS
  28. *       GlueData - 
  29. *       TagList -
  30. *
  31. *   RESULT
  32. *
  33. *   EXAMPLE
  34. *
  35. *   NOTES
  36. *
  37. *   BUGS
  38. *
  39. *   SEE ALSO
  40. *
  41. ******************************************************************************
  42. *
  43. */
  44.  
  45.  
  46.  
  47. ULONG __asm LIB_SM_SendGlueAttrsA(register __a0 struct smGlueData *GD, register __a1 struct TagItem *TagList)
  48. {
  49.   return(DoMethod(GD->ModelObject, 
  50.                   SMM_PRIVATE0, 
  51.                   TagList, 
  52.                   GD->Update->opu_GInfo, 
  53.                   GD->Update->opu_Flags ));
  54. }
  55.  
  56.  
  57.  
  58.