home *** CD-ROM | disk | FTP | other *** search
- #pragma once
- /*
- File: Collections++.h
-
- Contains: Quickie minimal implementation of
- Collection Manager for System 7.x.
-
- Version: 1.0 (for System 7.5)
-
- Copyright: ©1995 Chris K. Thomas. All Rights Reserved.
- */
-
- #include <Drag.h>
- #include "Memory++.h"
-
- struct CollectableTag
- {
- FlavorType tag;
- Ptr ptr;
- };
-
- class TagTable
- {
- HandleArray<CollectableTag> mTagTable;
-
- public:
-
- virtual ~TagTable();
-
- Boolean LookupTag(FlavorType inTag, Ptr *outData);
- void SetTag(FlavorType inTag, void * inData, long);
- };
-
-