Crate core_services

Source

Structs§

AEDesc
AuthorizationOpaqueRef
CFArray
A heterogeneous immutable array.
CFString
An immutable string in one of a variety of encodings.
FSRef
LSApplicationParameters
LSItemInfoRecord
LSLaunchFSRefSpec
LSLaunchURLSpec
OpaqueAEDataStorageType
OpaqueIconRef
OpaqueLSSharedFileListItemRef
OpaqueLSSharedFileListRef

Constants§

kLSAcceptAllowLoginUI
Requests that the user interface to log in be presented if necessary. If LSCanRefAcceptItem or LSCanURLAcceptURL is called during a drag-and-drop operation, showing a server login dialog would be an inappropriate user experience. If the target designated in the function call is an alias to an application, Launch Services needs to resolve the alias to ascertain what file types the application can open; however, if the application is on a server that needs to be authenticated, Launch Services will by default fail to resolve the alias, to avoid having to present the login interface. To override this default behavior by allowing the server login interface, set the kLSAcceptAllowLoginUI flag.
kLSAcceptDefault
Requests the default behavior (as opposed to the behavior specified by the kLSAcceptAllowLoginUI flag).
kLSAppDoesNotClaimTypeErr
kLSAppDoesNotSupportSchemeWarning
kLSAppInTrashErr
kLSApplicationNotFoundErr
kLSAttributeNotFoundErr
kLSAttributeNotSettableErr
kLSCannotSetInfoErr
kLSDataErr
kLSDataTooOldErr
kLSDataUnavailableErr
kLSExecutableIncorrectFormat
kLSGarbageCollectionUnsupportedErr
kLSIncompatibleApplicationVersionErr
kLSIncompatibleSystemVersionErr
kLSItemInfoAppIsScriptable
kLSItemInfoAppPrefersClassic
kLSItemInfoAppPrefersNative
kLSItemInfoExtensionIsHidden
kLSItemInfoIsAliasFile
kLSItemInfoIsApplication
kLSItemInfoIsClassicApp
kLSItemInfoIsContainer
kLSItemInfoIsInvisible
kLSItemInfoIsNativeApp
kLSItemInfoIsPackage
kLSItemInfoIsPlainFile
kLSItemInfoIsSymlink
kLSItemInfoIsVolume
kLSLaunchAndDisplayErrors
Report launch/open failures in the UI
kLSLaunchAndHide
Send child a “hide” request as soon as it checks in.
kLSLaunchAndHideOthers
Hide all other apps when the app checks in.
kLSLaunchAndPrint
Print items instead of open them
kLSLaunchAsync
Asynchronous launch; return as soon as the app starts launching.
kLSLaunchDefaults
Defaults = open, async
kLSLaunchDontAddToRecents
Do not add app or documents to recents menus.
kLSLaunchDontSwitch
Do not bring new app to the foreground.
kLSLaunchHasUntrustedContents
kLSLaunchInClassic
kLSLaunchInProgressErr
kLSLaunchInhibitBGOnly
kLSLaunchNewInstance
Instantiate app even if it is already running.
kLSLaunchNoParams
kLSLaunchStartClassic
kLSMultipleSessionsNotSupportedErr
kLSNo32BitEnvironmentErr
kLSNoClassicEnvironmentErr
kLSNoExecutableErr
kLSNoLaunchPermissionErr
kLSNoRegistrationInfoErr
kLSNoRosettaEnvironmentErr
kLSNotAnApplicationErr
kLSNotInitializedErr
kLSNotRegisteredErr
kLSRequestAllFlags
kLSRequestAllInfo
kLSRequestAppTypeFlags
kLSRequestBasicFlagsOnly
kLSRequestExtension
kLSRequestExtensionFlagsOnly
kLSRequestIconAndKind
kLSRequestTypeCreator
kLSRolesAll
Accepts any role with respect to the item.
kLSRolesEditor
Requests the role Editor (the application can read, present, manipulate, and save the item).
kLSRolesNone
Requests the role None (the application cannot open the item, but provides an icon and a kind string for it).
kLSRolesShell
Requests the role Shell (the application can execute the item).
kLSRolesViewer
Requests the role Viewer (the application can read and present the item, but cannot manipulate or save it).
kLSServerCommunicationErr
kLSSharedFileListDoNotMountVolumes
kLSSharedFileListNoUserInteraction
kLSUnknownCreator
kLSUnknownErr
kLSUnknownType
kLSUnknownTypeErr

Statics§

kLSItemContentType
kLSItemDisplayKind
kLSItemDisplayName
kLSItemExtension
kLSItemExtensionIsHidden
kLSItemFileCreator
kLSItemFileType
kLSItemIsInvisible
kLSItemQuarantineProperties
kLSItemRoleHandlerDisplayName
kLSQuarantineAgentBundleIdentifierKey
kLSQuarantineAgentNameKey
kLSQuarantineDataURLKey
kLSQuarantineOriginURLKey
kLSQuarantineTimeStampKey
kLSQuarantineTypeCalendarEventAttachment
kLSQuarantineTypeEmailAttachment
kLSQuarantineTypeInstantMessageAttachment
kLSQuarantineTypeKey
kLSQuarantineTypeOtherAttachment
kLSQuarantineTypeOtherDownload
kLSQuarantineTypeWebDownload
kLSSharedFileListFavoriteItems
kLSSharedFileListFavoriteVolumes
kLSSharedFileListGlobalLoginItems
kLSSharedFileListItemBeforeFirst
kLSSharedFileListItemHidden
kLSSharedFileListItemLast
kLSSharedFileListLoginItemHidden
kLSSharedFileListRecentApplicationItems
kLSSharedFileListRecentDocumentItems
kLSSharedFileListRecentItemsMaxAmount
kLSSharedFileListRecentServerItems
kLSSharedFileListSessionLoginItems
kLSSharedFileListVolumesComputerVisible
kLSSharedFileListVolumesIDiskVisible
kLSSharedFileListVolumesNetworkVisible
kUTTagClassFilenameExtension
Indicates that the tag is a filename extension.
kUTTagClassMIMEType
Indicates that the tag is a MIME type.
kUTTagClassNSPboardType
Indicates that the tag is an NSPasteBoard type.
kUTTagClassOSType
Indicates that the tag is an OSType.

Traits§

TCFType
All Core Foundation types implement this trait. The associated type Ref specifies the associated Core Foundation type: e.g. for CFType this is CFTypeRef; for CFArray this is CFArrayRef.

Functions§

LSCanURLAcceptURL
Tests whether an application can accept (open) an item designated by URL.
LSCopyAllRoleHandlersForContentType
Locates an array of application bundle identifiers for applications capable of handling a specified content type with the specified roles.
LSCopyApplicationURLsForBundleIdentifier
Locates all URLs for applications that correspond to the specified bundle identifier.
LSCopyDefaultRoleHandlerForContentType
LSOpenFromURLSpec
Opens one or more items designated by URL, in either their preferred applications or a designated application.
LSSharedFileListAddObserver
LSSharedFileListCopyProperty
LSSharedFileListCopySnapshot
LSSharedFileListCreate
LSSharedFileListGetSeedValue
LSSharedFileListGetTypeID
LSSharedFileListInsertItemFSRef
LSSharedFileListInsertItemURL
LSSharedFileListItemCopyDisplayName
LSSharedFileListItemCopyIconRef
LSSharedFileListItemCopyProperty
LSSharedFileListItemCopyResolvedURL
LSSharedFileListItemGetID
LSSharedFileListItemGetTypeID
LSSharedFileListItemMove
LSSharedFileListItemRemove
LSSharedFileListItemResolve
LSSharedFileListItemSetProperty
LSSharedFileListRemoveAllItems
LSSharedFileListRemoveObserver
LSSharedFileListSetAuthorization
LSSharedFileListSetProperty
UTTypeCreatePreferredIdentifierForTag

Type Aliases§

AEDataStorage
AEDataStorageType
AEDescList
AERecord
AppleEvent
AuthorizationRef
CFArrayRef
CFStringRef
DescType
FourCharCode
IconRef
ItemCount
LSAcceptanceFlags
Specify the desired role or roles for an application to claim with respect to an item or family of items.
LSHandlerOptions
LSItemInfoFlags
LSLaunchFlags
LSRequestedInfo
LSRolesMask
LSSharedFileListChangedProcPtr
LSSharedFileListItemRef
LSSharedFileListRef
LSSharedFileListResolutionFlags
OSType
OptionBits
ResType
no_overview_available_1191
no_overview_available_1193
no_overview_available_1199