[MD1] PIconServices source released
From: Peter O'Gorman (ogorman@kagi.com)
Subject: PIconServices released - free source code and libraries
PIconServices is a library that gives you IconServices or its own
ref-counted equivalent. Now you can call functions such as :
GetPIcon('macs','help',&myIcon);
PlotPIcon(&myRect,kAlignNone,kTransformNone,myIcon);
ReleasePIcon(myIcon);
These calls will now use IconServices if it is available and will
also work on older systems. Libraries are available for CFM,PPC and
classic68K. The following routines are exported:
PISSInit
PISSTerminate
PtInPIcon
RectInPIcon
PIconToRgn
PlotPIcon
UnregisterPIcon
RegisterPIconFromResource
ReleasePIcon
AcquirePIcon
GetPIconOwners
GetPIconFromFile
GetPIcon
GetPIconFromFolder
//Generally useful stuff
PIdentifyFolder
ResolveAliasWithMountFlags
IsAliasFile
ResolveAliasFileWithMountFlags
Source code and binaries are included in the distribution and the
whole thing is released under the GNU library licence, which means
you can do pretty much anything with it.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You can get you hands on the PIconServices at
http://www.ogorman.dircon.co.uk/iconscvs.sit.hqx
enjoy,
Peter
Peter O'Gorman
ogorman@kagi.com
http://www.ogorman.dircon.co.uk