Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     Changes
    Public API
    Source Code Main Page
        Java [ Common · Win · Mac · Nix ]     Native Code [ Common · Win · Mac · Nix ]     Manifest
        Native Code Overviews [ Common · Win · Mac · Nix · Strings ]     Macros [ General · Native Macros ]
        Walkthroughs [ Java only · Java and native ]     Building [ Win · Mac · Nix · OSX ]     Distribution Issues

SAppUtilsOSX

OSX utility functions.

[ Mac | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class SAppUtilsOSX

{

public:
static ErrCode getPOSIXPath( CFSpec *spec, CStr *outPath );
static ErrCode getProcessBundleLocation( ProcessSerialNumber *psn, FSSpec *spec );
static ErrCode findApplicationForInfo( OSType inCreator, const CStr *inBundleID, const CStr *inName, FSSpec *outSpec );
static ErrCode getApplicationForInfo( OSType inType, OSType inCreator, const CStr *inExtension, long roleMask, FSSpec *outSpec );
protected:
}; // SAppUtilsOSX

Back to the top of SAppUtilsOSX


DESCRIPTION

OSX utility functions.

Back to the top of SAppUtilsOSX


ErrCode getPOSIXPath( CFSpec *spec, CStr *outPath );

Converts an FSSpec into a POSIX path.

in spec
The input FSSpec
out outPath
On exit, contains the POSIX path of the spec

	static	ErrCode getPOSIXPath( CFSpec *spec, CStr *outPath );

Back to the top of SAppUtilsOSX


ErrCode getProcessBundleLocation( ProcessSerialNumber *psn, FSSpec *spec );

Wraps the OSX function GetProcessBundleLocation.

in psn
The input PSN
out spec
On exit, contains the spec of the bundle

	static	ErrCode getProcessBundleLocation( ProcessSerialNumber *psn, FSSpec *spec );

Back to the top of SAppUtilsOSX


ErrCode findApplicationForInfo( OSType inCreator, const CStr *inBundleID, const CStr *inName, FSSpec *outSpec );

Wraps the OSX function LSFindApplicationForInfo.

in inCreator
The input creator code, can be kLSUnknowmCreator
in inBundleID
The input bundle ID, can be NULL
in inName
The input application name, can be NULL
out outSpec
On exit, contains the spec of the app

	static	ErrCode findApplicationForInfo( OSType inCreator, const CStr *inBundleID, const CStr *inName, FSSpec *outSpec );

Back to the top of SAppUtilsOSX


ErrCode getApplicationForInfo( OSType inType, OSType inCreator, const CStr *inExtension, long roleMask, FSSpec *outSpec );

Wraps the OSX function LSGetApplicationForInfo.

in inType
The input creator code, can be kLSUnknowmType
in inCreator
The input creator code, can be kLSUnknowmCreator
in inExtension
The input extension, can be NULL
in roleMask
The input LSRolesMask
out outSpec
On exit, contains the spec of the app

	static	ErrCode	getApplicationForInfo( OSType inType, OSType inCreator, const CStr *inExtension, long roleMask, FSSpec *outSpec );

Back to the top of SAppUtilsOSX


All Members

public:
static ErrCode getPOSIXPath( CFSpec *spec, CStr *outPath );
static ErrCode getProcessBundleLocation( ProcessSerialNumber *psn, FSSpec *spec );
static ErrCode findApplicationForInfo( OSType inCreator, const CStr *inBundleID, const CStr *inName, FSSpec *outSpec );
static ErrCode getApplicationForInfo( OSType inType, OSType inCreator, const CStr *inExtension, long roleMask, FSSpec *outSpec );
protected:

Back to the top of SAppUtilsOSX


Ancestors

Class does not inherit from any other class.

Back to the top of SAppUtilsOSX


Descendants

Class is not inherited by any others.

Back to the top of SAppUtilsOSX


Generated from source by the Cocoon utilities on Fri Aug 23 12:34:28 2002 .

Report problems to jkotula@stratasys.com


Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links


Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.