home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BK-SC1_4.DMS / in.adf / MUIClass.Lha / Include / Classes / TWiMUI / Family.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-16  |  1.2 KB  |  51 lines

  1. //
  2. //  $VER: Family.h      1.0 (16 Jun 1996)
  3. //
  4. //    c 1996 Thomas Wilhelmi
  5. //
  6. //
  7. // Address : Taunusstrasse 14
  8. //           61138 Niederdorfelden
  9. //           Germany
  10. //
  11. //  E-Mail : willi@twi.rhein-main.de
  12. //
  13. //   Phone : +49 (0)6101 531060
  14. //   Fax   : +49 (0)6101 531061
  15. //
  16. //
  17. //  $HISTORY:
  18. //
  19. //  16 Jun 1996 :   1.0 : first public Release
  20. //
  21.  
  22. #ifndef CPP_TWIMUI_FAMILY_H
  23. #define CPP_TWIMUI_FAMILY_H
  24.  
  25. #ifndef CPP_TWIMUI_NOTIFY_H
  26. #include <classes/twimui/notify.h>
  27. #endif
  28.  
  29. #ifndef EXEC_LISTS_H
  30. #include <exec/lists.h>
  31. #endif
  32.  
  33. class MUIFamily : public MUINotify
  34.     {
  35.     protected:
  36.         MUIFamily(const STRPTR cl) : MUINotify(cl) { };
  37.         MUIFamily(MUIFamily &p) : MUINotify(p) { };
  38.         virtual ~MUIFamily();
  39.         MUIFamily &operator= (MUIFamily &);
  40.     public:
  41.         struct MinList *List() const { return((struct MinList *)get(MUIA_Family_List,NULL)); };
  42.         void AddHead(Object *p) { dom(MUIM_Family_AddHead,(ULONG)p); };
  43.         void AddTail(Object *p) { dom(MUIM_Family_AddTail,(ULONG)p); };
  44.         void Insert(Object *p1, Object *p2) { dom(MUIM_Family_Insert,(ULONG)p1,(ULONG)p2); };
  45.         void Remove(Object *p) { dom(MUIM_Family_Remove,(ULONG)p); };
  46.         void Sort(Object **p) { dom(MUIM_Family_Sort,(ULONG)p); };
  47.         void Transfer(Object *p) { dom(MUIM_Family_Transfer,(ULONG)p); };
  48.     };
  49.  
  50. #endif
  51.