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

  1. #ifndef CPP_BOOPSI_IMAGECLASS_H
  2. #define CPP_BOOPSI_IMAGECLASS_H
  3.  
  4. // Die Image Klassen
  5. //
  6. // Autor: Jochen Becher
  7. //
  8. // Historie:
  9. // Version 1.0 am 26. Februar 94
  10.  
  11. #ifndef INTUITION_IMAGECLASS_H
  12. #include <intuition/imageclass.h>
  13. #endif
  14.  
  15. #ifndef CPP_BOOPSI_ROOTCLASS_H
  16. #include <classes/boopsi/rootclass.h>
  17. #endif
  18.  
  19. class BoopsiImageC : public BoopsiRootC {
  20. protected:
  21.     BoopsiImageC(struct IClass *c, STRPTR pubclass, struct TagItem *tags)
  22.         : BoopsiRootC(c,pubclass,tags) { };
  23. };
  24.  
  25. class BoopsiFrameiC : public BoopsiImageC {
  26. public:
  27.     BoopsiFrameiC(Tag tag1type, ...)
  28.         : BoopsiImageC(NULL,FRAMEICLASS,(struct TagItem *) &tag1type) { };
  29.     BoopsiFrameiC(struct TagItem *tags)
  30.         : BoopsiImageC(NULL,FRAMEICLASS,tags) { };
  31. protected:
  32.     BoopsiFrameiC(struct IClass *c, STRPTR pubclass, struct TagItem *tags)
  33.         : BoopsiImageC(c,pubclass,tags) { };
  34. };
  35.  
  36. class BoopsiSysiC : public BoopsiImageC {
  37. public:
  38.     BoopsiSysiC(Tag tag1type, ...)
  39.         : BoopsiImageC(NULL,SYSICLASS,(struct TagItem *) &tag1type) { };
  40.     BoopsiSysiC(struct TagItem *tags)
  41.         : BoopsiImageC(NULL,SYSICLASS,tags) { };
  42. protected:
  43.     BoopsiSysiC(struct IClass *c, STRPTR pubclass, struct TagItem *tags)
  44.         : BoopsiImageC(c,pubclass,tags) { };
  45. };
  46.  
  47. class BoopsiFillrectC : public BoopsiImageC {
  48. public:
  49.     BoopsiFillrectC(Tag tag1type, ...)
  50.         : BoopsiImageC(NULL,FILLRECTCLASS,(struct TagItem *) &tag1type) { };
  51.     BoopsiFillrectC(struct TagItem *tags)
  52.         : BoopsiImageC(NULL,FILLRECTCLASS,tags) { };
  53. protected:
  54.     BoopsiFillrectC(struct IClass *c, STRPTR pubclass, struct TagItem *tags)
  55.         : BoopsiImageC(c,pubclass,tags) { };
  56. };
  57.  
  58. class BoopsiItextiC : public BoopsiImageC {
  59. public:
  60.     BoopsiItextiC(Tag tag1type, ...)
  61.         : BoopsiImageC(NULL,"itexticlass",(struct TagItem *) &tag1type) { };
  62.     BoopsiItextiC(struct TagItem *tags)
  63.         : BoopsiImageC(NULL,"itexticlass",tags) { };
  64. protected:
  65.     BoopsiItextiC(struct IClass *c, STRPTR pubclass, struct TagItem *tags)
  66.         : BoopsiImageC(c,pubclass,tags) { };
  67. };
  68.  
  69. #endif
  70.