home *** CD-ROM | disk | FTP | other *** search
- /*
- File: CResourceIterator.h
-
- Contains: xxx put contents here xxx
-
- Written by: Tim Harnett
-
- Copyright: © 1994 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <1> 10/25/94 TMH used is TX25Channel::MakeConnection()
- 10/25/94 TMH xxx put comment here xxx
-
- To Do:
- */
-
- #ifndef __CResourceIterator__
- #define __CResourceIterator__
-
- #ifndef __RESOURCES__
- #include "Resources.h"
- #endif
-
-
- //--------------------------------------
- // C R e s o u r c e I t e r a t o r
- //--------------------------------------
-
-
- class CResourceIterator {
- public:
- CResourceIterator(ResType resType,short refNum = 0); // defaults to user the App's resource fork.
- Handle FirstResource();
- virtual Boolean More();
- Handle NextResource();
- protected:
- short fRefNum; // Assumes the file is open.
- ResType fResType;
- short fCount;
- short fIndex;
- };
-
-
- #endif __CResourceIterator__
-