home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC7.DMS / in.adf / classes.lha / Classes / BOOPSI / icclass.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-31  |  1015 b   |  42 lines

  1. #ifndef CPP_BOOPSI_ICCLASS_H
  2. #define CPP_BOOPSI_ICCLASS_H
  3.  
  4. // Klasseninterface für die Interconnection Klassen
  5. //
  6. // Autor: Jochen Becher
  7. //
  8. // Historie:
  9. // Version 1.0 am 26. Februar 94
  10.  
  11. #ifndef INTUITION_ICCLASS_H
  12. #include <intuition/icclass.h>
  13. #endif
  14.  
  15. #ifndef CPP_BOOPSI_ROOTCLASS_H
  16. #include <classes/boopsi/rootclass.h>
  17. #endif
  18.  
  19. class BoopsiIcC : public BoopsiRootC {
  20. public:
  21.     BoopsiIcC(Tag tag1type, ...)
  22.         : BoopsiRootC(NULL,ICCLASS,(struct TagItem *) &tag1type) { };
  23.     BoopsiIcC(struct TagItem *tags)
  24.         : BoopsiRootC(NULL,ICCLASS,tags) { };
  25. protected:
  26.     BoopsiIcC(struct IClass *c,STRPTR pubclass,struct TagItem *tags)
  27.         : BoopsiRootC(c,pubclass,tags) { };
  28. };
  29.  
  30. class BoopsiModelC : public BoopsiIcC {
  31. public:
  32.     BoopsiModelC(Tag tag1type, ...)
  33.         : BoopsiIcC(NULL,MODELCLASS,(struct TagItem *) &tag1type) { };
  34.     BoopsiModelC(struct TagItem *tags)
  35.         : BoopsiIcC(NULL,MODELCLASS,tags) { };
  36. protected:
  37.     BoopsiModelC(struct IClass *c,STRPTR pubclass,struct TagItem *tags)
  38.         : BoopsiIcC(c,pubclass,tags) { };
  39. };
  40.  
  41. #endif
  42.