HSharableResource 1.2 and HSharablePicture 1.2 - PowerPlant Cla

Source in C, Pascal, etc. Note: apps that come with source should be included here as well as the appropriate software directory.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
HSharableResource 1.2 and HSharablePicture 1.2 - PowerPlant Cla

Post by Info-Mac » February 6th, 1998, 11:00 am

Download: http://archive.info-mac.org/dev/src/hsh ... rce-12.hqx

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
Post Reply