home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Item Class / Item headers / CItemList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  795 b   |  39 lines  |  [TEXT/KAHL]

  1. /*
  2.  * File:        CItemList.h
  3.  * Created:        7/25/93
  4.  * Desc:        A list of CItems that can initialize itself
  5.  *                from disk.  See CItem for a full description of
  6.  *                what items are.
  7.  *
  8.  * Superclass:    CList.
  9.  * Uses:        CItem.
  10.  * Original Author:    Atul Barve
  11.  * Modifications:    W. Wesley Monroe
  12.  *
  13.  * Copyright © 1993 Animas Software Production. All rights reserved.
  14.  */
  15.  
  16. #pragma once
  17.  
  18. #include <CList.h>
  19. #include    "CItem.h"
  20.  
  21.  
  22. class CItemList : public CList {
  23.  
  24. public:
  25.  
  26.     void    IItemList(void);
  27.     void    IItemRes(OSType type);
  28.     CItem    *ReadItem(Handle itemH, short level);
  29.  
  30.     virtual CItem *MakeItem(void);
  31.     virtual CItemList *CopyList(Boolean copySubItems);
  32.  
  33.     virtual void RemoveItem(CObject *theObject);
  34.     virtual void RemoveFromVisTree(CObject *theObject);
  35.  
  36.     void    DeleteItems(void);
  37. /*    void     Dispose(void);*/
  38. };
  39.