Carbon


Determining Translation Manager Attributes

Header: Gestalt.h

enum {
    gestaltTranslationAttr = 'xlat',
    gestaltTranslationMgrExists = 0,
    gestaltTranslationMgrHintOrder = 1,
    gestaltTranslationPPCAvail = 2,
    gestaltTranslationGetPathAPIAvail = 3
};

Constant descriptions

gestaltTranslationAttr

The Gestalt selector you pass to determine which Translation Manager attributes are present.

gestaltTranslationMgrExists

If true, the Translation Manager is present.

gestaltTranslationMgrHintOrder

In earlier versions of the Translation Manager, the scrap hints in the DoTranslateScrapProcPtr function were reversed. In later versions, this was fixed. If this bit is true, this bug fix is in effect.

gestaltTranslationPPCAvail

If true, the PowerPC Translation Library is available, and you can call the Translation Manager from native PowerPC code.

gestaltTranslationGetPathAPIAvail

If true, the functions GetFileTranslationPath and GetPathTranslationDialog are available.

Before calling any function dependent upon the Translation Manager your application should pass the selector gestaltTranslationAttr to the Gestalt function to determine the Translation Manager attributes that are present.


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