Info-Mac Archive Downloads: dev/src/ SourceCode

Back to dev/src/ SourceCode

HSharableResource 1.2 and HSharablePicture 1.2 - PowerPlant Cla (hsharable-resource-12.hqx)

Download hsharable-resource-12.hqx (127,851 KB)


From: hsoi@eden.com
Subject: HSharableResource 1.2 and HSharablePicture 1.2 - PowerPlant Cla


HSharableResource is a Metrowerks PowerPlant inherited class that
implements simple garbage collection for MacOS Resources. Using
LSharable and TSharablePtr, the concept of reference counting makes this
all possible. HSharableResource strives for minimal reliance upon
PowerPlant and could possibly be used in non-PowerPlant contexts.

HSharablePicture is a variant upon PowerPlant's LPicture class. It
utilizes HSharableResource to manage the 'PICT' resource so it can clean
up after itself.

The distribution contains the HSharableResource source, the
HSharablePicture source, a CTYP file for HSharablePicture, and a small
demonstration application. The files in the archive were created with
CodeWarrior Professional 1.

For complete information, please read the README file enclosed in the
archive.

Thanx, and enjoy!

John C. Daub
Hsoi's Shop