Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC830713); site uva.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!mcnc!philabs!cmcl2!seismo!mcvax!uva!dolf
From: dolf@uva.UUCP (Dolf Starreveld)
Newsgroups: net.micro.mac
Subject: Re: RMover and ResEdit answers and question
Message-ID: <154@uva.UUCP>
Date: Fri, 4-Jan-85 05:39:24 EST
Article-I.D.: uva.154
Posted: Fri Jan  4 05:39:24 1985
Date-Received: Mon, 7-Jan-85 02:18:40 EST
References: <216@calmasd.UUCP> <186@usl.UUCP> <1281@orca.UUCP>
Reply-To: dolf@uva.UUCP (Dolf Starreveld)
Organization: Comp. Science Dept., University of Amsterdam
Lines: 41
Summary: 
Summary: 


The strange resource mentioned is the so called "signature" resource of
an application. It must have a resource type equal to the files creator,
in order to enable the finder to associate the application with its specific
data, such as icons. This specific data is specified in the so called
bundle, a resource (type BNDL), that specifies the icons the finder must
display for the application, as well as for the documents created by the
application. In the bundle usually there are references to three types
of resources:
1) To the signature resource. By the way, the signature may have any
type, must have resource id 0, and must be the first resource defined for
the application.
2) The ICN# resources. Icon lists contain an icon and its mask for each
resource id. Such a pair must be defined for every different file typ
the application creates, including its own file, with the type APPL.
3) FREF resources (file references), which tell the finder wich ICN#
belongs to which file type.

Some applications do not have a bundle resource. In the case the finder
assigns them the default icons for application (the hand icon) and documents.


-- 
			Dolf Starreveld
			Computer Science Department
			University of Amsterdam
			The Netherlands

			{philabs, decvax, seismo}!mcvax!uva!dolf