Carbon


ScrapTranslationList

Header: TranslationExtensions.h

struct ScrapTranslationList {
    UInt32 modDate; 
    UInt32 groupCount;
};
typedef ScrapTranslationList ScrapTranslationListPtr;

Field descriptions

modDate

The creation date of the scrap translation list. If your extension uses external translators, you might set this field to the modification date of a folder containing those translators.

groupCount

The number of translation groups that follow. The size of the translation list prepared by an extension is variable, depending upon the number of groups, the scrap specification structure size, and the number of scrap types that the extension knows about.

The ScrapTranslationList data structure describes which scrap formats your extension can translate into which other scrap formats. The Translation Manager uses the scrap translation list that it gets from each translation system to create a master database of its translation capability. A scrap translation list consists of a field indicating the modification date of the list and a count of the number of groups that follow those two fields.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)