Documentation
¶
Overview ¶
Package launchservices provides purego-based Go bindings for the macOS LaunchServices framework.
Apple documentation: https://developer.apple.com/documentation/launchservices
Index ¶
- Constants
- func AcquireIconRef(theIconRef unsafe.Pointer) int16deprecated
- func CompositeIconRef(backgroundIconRef unsafe.Pointer, foregroundIconRef unsafe.Pointer, ...) int16deprecated
- func GetCustomIconsEnabled(vRefNum int16, customIconsEnabled *uint8) int16deprecated
- func GetIconRef(vRefNum int16, creator uint, iconType uint, theIconRef unsafe.Pointer) int16deprecated
- func GetIconRefFromComponent(inComponent *carboncore.ComponentRecord, outIconRef unsafe.Pointer) intdeprecated
- func GetIconRefFromFileInfo(inRef *carboncore.FSRef, inFileNameLength uint, inFileName *uint16, ...) intdeprecated
- func GetIconRefFromFolder(vRefNum int16, parentFolderID int, folderID int, attributes int8, ...) int16deprecated
- func GetIconRefFromIconFamilyPtr(inIconFamilyPtr *osservices.IconFamilyResource, inSize int, ...) intdeprecated
- func GetIconRefFromTypeInfo(inCreator uint, inType uint, inExtension unsafe.Pointer, ...) int16deprecated
- func GetIconRefOwners(theIconRef unsafe.Pointer, owners *uint16) int16deprecated
- func IsDataAvailableInIconRef(inIconKind uint, inIconRef unsafe.Pointer) uint8deprecated
- func IsIconRefComposite(compositeIconRef unsafe.Pointer, backgroundIconRef unsafe.Pointer, ...) int16deprecated
- func IsValidIconRef(theIconRef unsafe.Pointer) uint8deprecated
- func KLSItemContentType() uintptrdeprecated
- func KLSItemDisplayKind() uintptrdeprecated
- func KLSItemDisplayName() uintptrdeprecated
- func KLSItemExtension() uintptrdeprecated
- func KLSItemExtensionIsHidden() uintptrdeprecated
- func KLSItemFileCreator() uintptrdeprecated
- func KLSItemFileType() uintptrdeprecated
- func KLSItemIsInvisible() uintptrdeprecated
- func KLSItemQuarantineProperties() uintptrdeprecated
- func KLSItemRoleHandlerDisplayName() uintptrdeprecated
- func KLSQuarantineAgentBundleIdentifierKey() uintptr
- func KLSQuarantineAgentNameKey() uintptr
- func KLSQuarantineDataURLKey() uintptr
- func KLSQuarantineOriginURLKey() uintptr
- func KLSQuarantineTimeStampKey() uintptr
- func KLSQuarantineTypeCalendarEventAttachment() uintptr
- func KLSQuarantineTypeEmailAttachment() uintptr
- func KLSQuarantineTypeInstantMessageAttachment() uintptr
- func KLSQuarantineTypeKey() uintptr
- func KLSQuarantineTypeOtherAttachment() uintptr
- func KLSQuarantineTypeOtherDownload() uintptr
- func KLSQuarantineTypeWebDownload() uintptr
- func KUTExportedTypeDeclarationsKey() uintptr
- func KUTImportedTypeDeclarationsKey() uintptr
- func KUTTagClassFilenameExtension() uintptrdeprecated
- func KUTTagClassMIMEType() uintptrdeprecated
- func KUTTagClassNSPboardType() uintptrdeprecated
- func KUTTagClassOSType() uintptrdeprecated
- func KUTType3DContent() uintptrdeprecated
- func KUTTypeAVIMovie() uintptrdeprecated
- func KUTTypeAliasFile() uintptrdeprecated
- func KUTTypeAliasRecord() uintptrdeprecated
- func KUTTypeAppleICNS() uintptrdeprecated
- func KUTTypeAppleProtectedMPEG4Audio() uintptrdeprecated
- func KUTTypeAppleProtectedMPEG4Video() uintptrdeprecated
- func KUTTypeAppleScript() uintptrdeprecated
- func KUTTypeApplication() uintptrdeprecated
- func KUTTypeApplicationBundle() uintptrdeprecated
- func KUTTypeApplicationFile() uintptrdeprecated
- func KUTTypeArchive() uintptrdeprecated
- func KUTTypeAssemblyLanguageSource() uintptrdeprecated
- func KUTTypeAudio() uintptrdeprecated
- func KUTTypeAudioInterchangeFileFormat() uintptrdeprecated
- func KUTTypeAudiovisualContent() uintptrdeprecated
- func KUTTypeBMP() uintptrdeprecated
- func KUTTypeBinaryPropertyList() uintptrdeprecated
- func KUTTypeBookmark() uintptrdeprecated
- func KUTTypeBundle() uintptrdeprecated
- func KUTTypeBzip2Archive() uintptrdeprecated
- func KUTTypeCHeader() uintptrdeprecated
- func KUTTypeCPlusPlusHeader() uintptrdeprecated
- func KUTTypeCPlusPlusSource() uintptrdeprecated
- func KUTTypeCSource() uintptrdeprecated
- func KUTTypeCalendarEvent() uintptrdeprecated
- func KUTTypeCommaSeparatedText() uintptrdeprecated
- func KUTTypeCompositeContent() uintptrdeprecated
- func KUTTypeConformsToKey() uintptr
- func KUTTypeContact() uintptrdeprecated
- func KUTTypeContent() uintptrdeprecated
- func KUTTypeData() uintptrdeprecated
- func KUTTypeDatabase() uintptrdeprecated
- func KUTTypeDelimitedText() uintptrdeprecated
- func KUTTypeDescriptionKey() uintptr
- func KUTTypeDirectory() uintptrdeprecated
- func KUTTypeDiskImage() uintptrdeprecated
- func KUTTypeElectronicPublication() uintptrdeprecated
- func KUTTypeEmailMessage() uintptrdeprecated
- func KUTTypeExecutable() uintptrdeprecated
- func KUTTypeFileURL() uintptrdeprecated
- func KUTTypeFlatRTFD() uintptrdeprecated
- func KUTTypeFolder() uintptrdeprecated
- func KUTTypeFont() uintptrdeprecated
- func KUTTypeFramework() uintptrdeprecated
- func KUTTypeGIF() uintptrdeprecated
- func KUTTypeGNUZipArchive() uintptrdeprecated
- func KUTTypeHTML() uintptrdeprecated
- func KUTTypeICO() uintptrdeprecated
- func KUTTypeIconFileKey() uintptr
- func KUTTypeIdentifierKey() uintptr
- func KUTTypeImage() uintptrdeprecated
- func KUTTypeInkText() uintptrdeprecated
- func KUTTypeInternetLocation() uintptrdeprecated
- func KUTTypeItem() uintptrdeprecated
- func KUTTypeJPEG() uintptrdeprecated
- func KUTTypeJPEG2000() uintptrdeprecated
- func KUTTypeJSON() uintptrdeprecated
- func KUTTypeJavaArchive() uintptrdeprecated
- func KUTTypeJavaClass() uintptrdeprecated
- func KUTTypeJavaScript() uintptrdeprecated
- func KUTTypeJavaSource() uintptrdeprecated
- func KUTTypeLivePhoto() uintptrdeprecated
- func KUTTypeLog() uintptrdeprecated
- func KUTTypeM3UPlaylist() uintptrdeprecated
- func KUTTypeMIDIAudio() uintptrdeprecated
- func KUTTypeMP3() uintptrdeprecated
- func KUTTypeMPEG() uintptrdeprecated
- func KUTTypeMPEG2TransportStream() uintptrdeprecated
- func KUTTypeMPEG2Video() uintptrdeprecated
- func KUTTypeMPEG4() uintptrdeprecated
- func KUTTypeMPEG4Audio() uintptrdeprecated
- func KUTTypeMessage() uintptrdeprecated
- func KUTTypeMountPoint() uintptrdeprecated
- func KUTTypeMovie() uintptrdeprecated
- func KUTTypeOSAScript() uintptrdeprecated
- func KUTTypeOSAScriptBundle() uintptrdeprecated
- func KUTTypeObjectiveCPlusPlusSource() uintptrdeprecated
- func KUTTypeObjectiveCSource() uintptrdeprecated
- func KUTTypePDF() uintptrdeprecated
- func KUTTypePHPScript() uintptrdeprecated
- func KUTTypePICT() uintptrdeprecated
- func KUTTypePKCS12() uintptrdeprecated
- func KUTTypePNG() uintptrdeprecated
- func KUTTypePackage() uintptrdeprecated
- func KUTTypePerlScript() uintptrdeprecated
- func KUTTypePlainText() uintptrdeprecated
- func KUTTypePlaylist() uintptrdeprecated
- func KUTTypePluginBundle() uintptrdeprecated
- func KUTTypePresentation() uintptrdeprecated
- func KUTTypePropertyList() uintptrdeprecated
- func KUTTypePythonScript() uintptrdeprecated
- func KUTTypeQuickLookGenerator() uintptrdeprecated
- func KUTTypeQuickTimeImage() uintptrdeprecated
- func KUTTypeQuickTimeMovie() uintptrdeprecated
- func KUTTypeRTF() uintptrdeprecated
- func KUTTypeRTFD() uintptrdeprecated
- func KUTTypeRawImage() uintptrdeprecated
- func KUTTypeReferenceURLKey() uintptr
- func KUTTypeResolvable() uintptrdeprecated
- func KUTTypeRubyScript() uintptrdeprecated
- func KUTTypeScalableVectorGraphics() uintptrdeprecated
- func KUTTypeScript() uintptrdeprecated
- func KUTTypeShellScript() uintptrdeprecated
- func KUTTypeSourceCode() uintptrdeprecated
- func KUTTypeSpotlightImporter() uintptrdeprecated
- func KUTTypeSpreadsheet() uintptrdeprecated
- func KUTTypeSwiftSource() uintptrdeprecated
- func KUTTypeSymLink() uintptrdeprecated
- func KUTTypeSystemPreferencesPane() uintptrdeprecated
- func KUTTypeTIFF() uintptrdeprecated
- func KUTTypeTXNTextAndMultimediaData() uintptrdeprecated
- func KUTTypeTabSeparatedText() uintptrdeprecated
- func KUTTypeTagSpecificationKey() uintptr
- func KUTTypeText() uintptrdeprecated
- func KUTTypeToDoItem() uintptrdeprecated
- func KUTTypeURL() uintptrdeprecated
- func KUTTypeURLBookmarkData() uintptrdeprecated
- func KUTTypeUTF8PlainText() uintptrdeprecated
- func KUTTypeUTF8TabSeparatedText() uintptrdeprecated
- func KUTTypeUTF16ExternalPlainText() uintptrdeprecated
- func KUTTypeUTF16PlainText() uintptrdeprecated
- func KUTTypeUnixExecutable() uintptrdeprecated
- func KUTTypeVCard() uintptrdeprecated
- func KUTTypeVersionKey() uintptr
- func KUTTypeVideo() uintptrdeprecated
- func KUTTypeVolume() uintptrdeprecated
- func KUTTypeWaveformAudio() uintptrdeprecated
- func KUTTypeWebArchive() uintptrdeprecated
- func KUTTypeWindowsExecutable() uintptrdeprecated
- func KUTTypeX509Certificate() uintptrdeprecated
- func KUTTypeXML() uintptrdeprecated
- func KUTTypeXMLPropertyList() uintptrdeprecated
- func KUTTypeXPCService() uintptrdeprecated
- func KUTTypeZipArchive() uintptrdeprecated
- func LSCanRefAcceptItem(inItemFSRef *carboncore.FSRef, inTargetRef *carboncore.FSRef, ...) intdeprecated
- func LSCanURLAcceptURL(inItemURL unsafe.Pointer, inTargetURL unsafe.Pointer, inRoleMask LSRolesMask, ...) int
- func LSCopyAllHandlersForURLScheme(inURLScheme unsafe.Pointer) unsafe.Pointerdeprecated
- func LSCopyAllRoleHandlersForContentType(inContentType unsafe.Pointer, inRole LSRolesMask) unsafe.Pointerdeprecated
- func LSCopyApplicationForMIMEType(inMIMEType unsafe.Pointer, inRoleMask LSRolesMask, outAppURL unsafe.Pointer) intdeprecated
- func LSCopyApplicationURLsForBundleIdentifier(inBundleIdentifier unsafe.Pointer, outError unsafe.Pointer) unsafe.Pointerdeprecated
- func LSCopyApplicationURLsForURL(inURL unsafe.Pointer, inRoleMask LSRolesMask) unsafe.Pointerdeprecated
- func LSCopyDefaultApplicationURLForContentType(inContentType unsafe.Pointer, inRoleMask LSRolesMask, outError unsafe.Pointer) unsafe.Pointerdeprecated
- func LSCopyDefaultApplicationURLForURL(inURL unsafe.Pointer, inRoleMask LSRolesMask, outError unsafe.Pointer) unsafe.Pointerdeprecated
- func LSCopyDefaultHandlerForURLScheme(inURLScheme unsafe.Pointer) unsafe.Pointerdeprecated
- func LSCopyDefaultRoleHandlerForContentType(inContentType unsafe.Pointer, inRole LSRolesMask) unsafe.Pointerdeprecated
- func LSCopyDisplayNameForRef(inRef *carboncore.FSRef, outDisplayName unsafe.Pointer) intdeprecated
- func LSCopyDisplayNameForURL(inURL unsafe.Pointer, outDisplayName unsafe.Pointer) intdeprecated
- func LSCopyItemAttribute(inItem *carboncore.FSRef, inRoles LSRolesMask, inAttributeName unsafe.Pointer, ...) intdeprecated
- func LSCopyItemAttributes(inItem *carboncore.FSRef, inRoles LSRolesMask, inAttributeNames unsafe.Pointer, ...) intdeprecated
- func LSCopyItemInfoForRef(inItemRef *carboncore.FSRef, inWhichInfo LSRequestedInfo, ...) intdeprecated
- func LSCopyItemInfoForURL(inURL unsafe.Pointer, inWhichInfo LSRequestedInfo, ...) intdeprecated
- func LSCopyKindStringForMIMEType(inMIMEType unsafe.Pointer, outKindString unsafe.Pointer) intdeprecated
- func LSCopyKindStringForRef(inFSRef *carboncore.FSRef, outKindString unsafe.Pointer) intdeprecated
- func LSCopyKindStringForTypeInfo(inType uint, inCreator uint, inExtension unsafe.Pointer, ...) intdeprecated
- func LSCopyKindStringForURL(inURL unsafe.Pointer, outKindString unsafe.Pointer) intdeprecated
- func LSFindApplicationForInfo(inCreator uint, inBundleID unsafe.Pointer, inName unsafe.Pointer, ...) intdeprecated
- func LSGetApplicationForInfo(inType uint, inCreator uint, inExtension unsafe.Pointer, ...) intdeprecated
- func LSGetApplicationForItem(inItemRef *carboncore.FSRef, inRoleMask LSRolesMask, ...) intdeprecated
- func LSGetApplicationForURL(inURL unsafe.Pointer, inRoleMask LSRolesMask, outAppRef *carboncore.FSRef, ...) intdeprecated
- func LSGetExtensionInfo(inNameLen uint, inNameBuffer *uint16, outExtStartIndex *uint) intdeprecated
- func LSOpenApplication(appParams *LSApplicationParameters, outPSN unsafe.Pointer) intdeprecated
- func LSOpenCFURLRef(inURL unsafe.Pointer, outLaunchedURL unsafe.Pointer) int
- func LSOpenFSRef(inRef *carboncore.FSRef, outLaunchedRef *carboncore.FSRef) intdeprecated
- func LSOpenFromRefSpec(inLaunchSpec *LSLaunchFSRefSpec, outLaunchedRef *carboncore.FSRef) intdeprecated
- func LSOpenFromURLSpec(inLaunchSpec *LSLaunchURLSpec, outLaunchedURL unsafe.Pointer) int
- func LSOpenItemsWithRole(inItems *carboncore.FSRef, inItemCount int, inRole LSRolesMask, ...) intdeprecated
- func LSOpenURLsWithRole(inURLs unsafe.Pointer, inRole LSRolesMask, inAEParam *ae.AEKeyDesc, ...) intdeprecated
- func LSRegisterFSRef(inRef *carboncore.FSRef, inUpdate uint8) intdeprecated
- func LSRegisterURL(inURL unsafe.Pointer, inUpdate uint8) int
- func LSSetDefaultHandlerForURLScheme(inURLScheme unsafe.Pointer, inHandlerBundleID unsafe.Pointer) intdeprecated
- func LSSetDefaultRoleHandlerForContentType(inContentType unsafe.Pointer, inRole LSRolesMask, ...) intdeprecated
- func LSSetExtensionHiddenForRef(inRef *carboncore.FSRef, inHide uint8) intdeprecated
- func LSSetExtensionHiddenForURL(inURL unsafe.Pointer, inHide uint8) intdeprecated
- func LSSetHandlerOptionsForContentType(inContentType unsafe.Pointer, inOptions LSHandlerOptions) intdeprecated
- func LSSetItemAttribute(inItem *carboncore.FSRef, inRoles LSRolesMask, inAttributeName unsafe.Pointer, ...) intdeprecated
- func OverrideIconRef(oldIconRef unsafe.Pointer, newIconRef unsafe.Pointer) int16deprecated
- func ReadIconFromFSRef(ref *carboncore.FSRef, iconFamily ***osservices.IconFamilyResource) intdeprecated
- func RegisterIconRefFromFSRef(creator uint, iconType uint, iconFile *carboncore.FSRef, ...) intdeprecated
- func RegisterIconRefFromIconFamily(creator uint, iconType uint, iconFamily **osservices.IconFamilyResource, ...) int16deprecated
- func ReleaseIconRef(theIconRef unsafe.Pointer) int16deprecated
- func RemoveIconRefOverride(theIconRef unsafe.Pointer) int16deprecated
- func SetCustomIconsEnabled(vRefNum int16, enableCustomIcons uint8) int16deprecated
- func SymbolAvailable(symbol string) bool
- func UTCreateStringForOSType(inOSType uint) unsafe.Pointerdeprecated
- func UTGetOSTypeFromString(inString unsafe.Pointer) uintdeprecated
- func UTTypeConformsTo(inUTI unsafe.Pointer, inConformsToUTI unsafe.Pointer) uint8deprecated
- func UTTypeCopyAllTagsWithClass(inUTI unsafe.Pointer, inTagClass unsafe.Pointer) unsafe.Pointerdeprecated
- func UTTypeCopyDeclaration(inUTI unsafe.Pointer) unsafe.Pointerdeprecated
- func UTTypeCopyDeclaringBundleURL(inUTI unsafe.Pointer) unsafe.Pointerdeprecated
- func UTTypeCopyDescription(inUTI unsafe.Pointer) unsafe.Pointerdeprecated
- func UTTypeCopyPreferredTagWithClass(inUTI unsafe.Pointer, inTagClass unsafe.Pointer) unsafe.Pointerdeprecated
- func UTTypeCreateAllIdentifiersForTag(inTagClass unsafe.Pointer, inTag unsafe.Pointer, ...) unsafe.Pointerdeprecated
- func UTTypeCreatePreferredIdentifierForTag(inTagClass unsafe.Pointer, inTag unsafe.Pointer, ...) unsafe.Pointerdeprecated
- func UTTypeEqual(inUTI1 unsafe.Pointer, inUTI2 unsafe.Pointer) uint8deprecated
- func UTTypeIsDeclared(inUTI unsafe.Pointer) uint8deprecated
- func UTTypeIsDynamic(inUTI unsafe.Pointer) uint8deprecated
- func UnregisterIconRef(creator uint, iconType uint) int16deprecated
- func UpdateIconRef(theIconRef unsafe.Pointer) int16deprecated
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- type Idtype_t
- type Ipc_info_object_type_t
- type LSAcceptanceFlags
- type LSApplicationParameters
- type LSHandlerOptions
- type LSItemInfoFlags
- type LSItemInfoRecord
- type LSLaunchFSRefSpec
- type LSLaunchFlags
- type LSLaunchURLSpec
- type LSRequestedInfo
- type LSRolesMask
- type Launch_data_type_t
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type OpaqueIconRef
- type Os_clockid_t
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
const ( AppleMenuFolderIconResource = -3982 DesktopIconResource = -3992 FloppyIconResource = -3998 GenericApplicationIconResource = -3996 GenericCDROMIconResource = -3987 GenericDeskAccessoryIconResource = -3991 GenericDocumentIconResource = -4000 GenericEditionFileIconResource = -3989 GenericExtensionIconResource = -16415 GenericFileServerIconResource = -3972 GenericFolderIconResource = -3999 GenericHardDiskIconResource = -3995 GenericMoverObjectIconResource = -3969 GenericPreferencesIconResource = -3971 GenericQueryDocumentIconResource = -16506 GenericRAMDiskIconResource = -3988 GenericStationeryIconResource = -3985 GenericSuitcaseIconResource = -3970 OpenFolderIconResource = -3997 PrivateFolderIconResource = -3994 SystemFolderIconResource = -3983 TrashIconResource = -3993 )
const ( KAlertCautionIcon = 1667331444 KAlertNoteIcon = 1852798053 KAlertStopIcon = 1937010544 )
const ( KAppearanceFolderIcon = 1634758770 KAppleExtrasFolderIcon = 1634040004 KAppleMenuFolderIcon = 1634561653 KApplicationSupportFolderIcon = 1634956656 KApplicationsFolderIcon = 1634758771 KAssistantsFolderIcon = 1634956484 KColorSyncFolderIcon = 1886547814 KContextualMenuItemsFolderIcon = 1668116085 KControlPanelDisabledFolderIcon = 1668575812 KControlPanelFolderIcon = 1668575852 KControlStripModulesFolderIcon = 1935963844 KDocumentsFolderIcon = 1685021555 KExtensionsDisabledFolderIcon = 1702392900 KExtensionsFolderIcon = 1702392942 KFavoritesFolderIcon = 1717663347 KFontsFolderIcon = 1718578804 KHelpFolderIcon = -999789456 KInternetFolderIcon = 1768846532 KInternetPlugInFolderIcon = -999398028 KInternetSearchSitesFolderIcon = 1769173862 KLocalesFolderIcon = -999526557 KMacOSReadMeFolderIcon = 1836020420 KPreferencesFolderIcon = 1886545604 KPrintMonitorFolderIcon = 1886547572 KPrinterDescriptionFolderIcon = 1886413926 KPrinterDriverFolderIcon = -999263644 KPublicFolderIcon = 1886741094 KRecentApplicationsFolderIcon = 1918988400 KRecentDocumentsFolderIcon = 1919184739 KRecentServersFolderIcon = 1920168566 KScriptingAdditionsFolderIcon = -999070862 KScriptsFolderIcon = 1935897284 KShutdownItemsDisabledFolderIcon = 1936221252 KShutdownItemsFolderIcon = 1936221286 KSpeakableItemsFolder = 1936747369 KStartupItemsDisabledFolderIcon = 1937011268 KStartupItemsFolderIcon = 1937011316 KSystemExtensionDisabledFolderIcon = 1835098948 KSystemFolderIcon = 1835098995 KTextEncodingsFolderIcon = -999004808 KUsersFolderIcon = 1970500292 KUtilitiesFolderIcon = 1970563524 KVoicesFolderIcon = 1719037795 )
const ( KAppleLogoIcon = 1667330156 KAppleMenuIcon = 1935765612 KBackwardArrowIcon = 1650553455 KBurningIcon = 1651864174 KConnectToIcon = 1668178804 KDeleteAliasIcon = 1684106345 KEjectMediaIcon = 1701471587 KFavoriteItemsIcon = 1717663346 KForwardArrowIcon = 1717662319 KGenericWindowIcon = 1735879022 KGridIcon = 1735551332 KHelpIcon = 1751477360 KKeepArrangedIcon = 1634889319 KLockedIcon = 1819239275 KNoFilesIcon = 1852205420 KNoFolderIcon = 1852206180 KNoWriteIcon = 1853321844 KProtectedApplicationFolderIcon = 1885433968 KProtectedSystemFolderIcon = 1886615923 KQuestionMarkIcon = 1903519091 KRecentItemsIcon = 1919118964 KRightContainerArrowIcon = 1919115634 KShortcutIcon = 1936224884 KSortAscendingIcon = 1634954852 KSortDescendingIcon = 1685286500 KUnlockedIcon = 1970037611 )
const ( KAlertCautionBadgeIcon = 1667392615 KAliasBadgeIcon = 1633838183 KAppleScriptBadgeIcon = 1935897200 KLockedBadgeIcon = 1818387559 KMountedBadgeIcon = 1835164775 )
const ( KAFPServerIcon = 1634103411 KAppleTalkIcon = 1635019883 KAppleTalkZoneIcon = 1635023470 KFTPServerIcon = 1718906995 KGenericNetworkIcon = 1735288180 KHTTPServerIcon = 1752461427 KIPFileServerIcon = 1769173622 )
const ( KClipboardIcon = 1129072976 KClippingPictureTypeIcon = 1668051056 KClippingSoundTypeIcon = 1668051059 KClippingTextTypeIcon = 1668051060 KClippingUnknownTypeIcon = 1668051061 KComputerIcon = 1919905652 KDesktopIcon = 1684370283 KFinderIcon = 1179534418 KFontSuitcaseIcon = 1179011404 KFullTrashIcon = 1718907496 KGenericApplicationIcon = 1095782476 KGenericCDROMIcon = 1667523698 KGenericComponentIcon = 1953001063 KGenericControlPanelIcon = 1095782467 KGenericControlStripModuleIcon = 1935959414 KGenericDeskAccessoryIcon = 1095782468 KGenericDocumentIcon = 1685021557 KGenericEditionFileIcon = 1701082214 KGenericExtensionIcon = 1229867348 KGenericFileServerIcon = 1936881266 KGenericFloppyIcon = 1718382713 KGenericFontIcon = 1717987692 KGenericFontScalerIcon = 1935895666 KGenericHardDiskIcon = 1751413611 KGenericIDiskIcon = 1768190827 KGenericMoverObjectIcon = 1836021362 KGenericPCCardIcon = 1885564259 KGenericPreferencesIcon = 1886545254 KGenericQueryDocumentIcon = 1902473849 KGenericRAMDiskIcon = 1918987620 KGenericRemovableMediaIcon = 1919774582 KGenericStationeryIcon = 1935961955 KGenericSuitcaseIcon = 1937074548 KGenericURLIcon = 1735750252 KGenericWORMIcon = 2003792493 KInternationResourcesIcon = 1768319340 KInternationalResourcesIcon = 1768319340 KKeyboardLayoutIcon = 1801873772 KSoundFileIcon = 1936091500 KSystemSuitcaseIcon = 2054388083 KTrashIcon = 1953657704 KTrueTypeFlatFontIcon = 1936092788 KTrueTypeFontIcon = 1952868716 KTrueTypeMultiFlatFontIcon = 1953784678 KUnknownFSObjectIcon = 1970169459 KUserIDiskIcon = 1969517419 )
const ( KDesktopIconResource = -3992 KGenericFileServerIconResource = -3972 KGenericHardDiskIconResource = -3995 KGenericMoverObjectIconResource = -3969 KGenericSuitcaseIconResource = -3970 KOpenFolderIconResource = -3997 )
const ( KFloppyIconResource = -3998 KGenericApplicationIconResource = -3996 KGenericCDROMIconResource = -3987 KGenericDeskAccessoryIconResource = -3991 KGenericDocumentIconResource = -4000 KGenericEditionFileIconResource = -3989 KGenericFolderIconResource = -3999 KGenericRAMDiskIconResource = -3988 KGenericStationeryIconResource = -3985 KPrivateFolderIconResource = -3994 KTrashIconResource = -3993 )
const ( KDropFolderIcon = 1684172664 KGenericFolderIcon = 1718379634 KMountedFolderIcon = 1835955300 KOpenFolderIcon = 1868983396 KOwnedFolderIcon = 1870098020 KPrivateFolderIcon = 1886549606 )
const ( KAppleMenuFolderIconResource = -3982 KGenericExtensionIconResource = -16415 KGenericPreferencesIconResource = -3971 KGenericQueryDocumentIconResource = -16506 KHelpIconResource = -20271 KSystemFolderIconResource = -3983 )
const ( KIconServicesNoBadgeFlag = 1 KIconServicesNormalUsageFlag = 0 KIconServicesUpdateIfNeededFlag = 2 )
const ( KInternetLocationAppleTalkZoneIcon = 1768710516 KInternetLocationFTPIcon = 1768711796 KInternetLocationFileIcon = 1768711785 KInternetLocationGenericIcon = 1768712037 KInternetLocationHTTPIcon = 1768712308 KInternetLocationMailIcon = 1768713569 KInternetLocationNSLNeighborhoodIcon = 1768713843 KInternetLocationNewsIcon = 1768713847 )
const ( KLSLaunchHasUntrustedContents = 4194304 KLSLaunchInClassic = 262144 KLSLaunchInhibitBGOnly = 128 KLSLaunchNoParams = 2048 KLSLaunchStartClassic = 131072 )
const ( KLSAppDoesNotClaimTypeErr = -10820 KLSAppDoesNotSupportSchemeWarning = -10821 KLSAppInTrashErr = -10660 KLSApplicationNotFoundErr = -10814 KLSAttributeNotFoundErr = -10662 KLSAttributeNotSettableErr = -10663 KLSCannotSetInfoErr = -10823 KLSDataErr = -10817 KLSDataTooOldErr = -10816 KLSExecutableIncorrectFormat = -10661 KLSGarbageCollectionUnsupportedErr = -10666 KLSIncompatibleApplicationVersionErr = -10664 KLSIncompatibleSystemVersionErr = -10825 KLSLaunchInProgressErr = -10818 KLSMalformedLocErr = -10400 KLSMultipleSessionsNotSupportedErr = -10829 KLSNo32BitEnvironmentErr = -10386 KLSNoClassicEnvironmentErr = -10828 KLSNoExecutableErr = -10827 KLSNoLaunchPermissionErr = -10826 KLSNoRegistrationInfoErr = -10824 KLSNoRosettaEnvironmentErr = -10665 KLSNotAnApplicationErr = -10811 KLSNotInitializedErr = -10812 KLSNotRegisteredErr = -10819 KLSServerCommunicationErr = -10822 KLSUnknownErr = -10810 KLSUnknownTypeErr = -10815 )
const ( KLSUnknownCreator = 0 KLSUnknownType = 0 )
const ( KSharingPrivsNotApplicableIcon = 1936223841 KSharingPrivsReadOnlyIcon = 1936224879 KSharingPrivsReadWriteIcon = 1936224887 KSharingPrivsUnknownIcon = 1936225643 KSharingPrivsWritableIcon = 2003986804 )
const ( KControlPanelFolderIconResource = -3976 KDropFolderIconResource = -3979 KExtensionsFolderIconResource = -3973 KFontsFolderIconResource = -3968 KFullTrashIconResource = -3984 KMountedFolderIconResource = -3977 KOwnedFolderIconResource = -3980 KPreferencesFolderIconResource = -3974 KPrintMonitorFolderIconResource = -3975 KStartupFolderIconResource = -3981 )
const ( KToolbarAdvancedIcon = 1952604534 KToolbarApplicationsFolderIcon = 1950445683 KToolbarCustomizeIcon = 1952675187 KToolbarDeleteIcon = 1952736620 KToolbarDesktopFolderIcon = 1950643051 KToolbarDocumentsFolderIcon = 1950642019 KToolbarDownloadsFolderIcon = 1950644078 KToolbarFavoritesIcon = 1952866678 KToolbarHomeIcon = 1953001325 KToolbarInfoIcon = 1952606574 KToolbarLabelsIcon = 1952607330 KToolbarLibraryFolderIcon = 1951164770 KToolbarMovieFolderIcon = 1951231862 KToolbarMusicFolderIcon = 1951233395 KToolbarPicturesFolderIcon = 1951426915 KToolbarPublicFolderIcon = 1951429986 KToolbarSitesFolderIcon = 1951626355 KToolbarUtilitiesFolderIcon = 1951757420 )
const ( KGroupIcon = 1735554416 KGuestUserIcon = 1735750514 KOwnerIcon = 1937077106 KUserFolderIcon = 1969646692 KUserIcon = 1970496882 KWorkgroupFolderIcon = 2003201124 )
const ( ControlPanelFolderIconResource = -3976 DropFolderIconResource = -3979 ExtensionsFolderIconResource = -3973 FontsFolderIconResource = -3968 FullTrashIconResource = -3984 MountedFolderIconResource = -3977 OwnedFolderIconResource = -3980 PreferencesFolderIconResource = -3974 PrintMonitorFolderIconResource = -3975 StartupFolderIconResource = -3981 )
const (
KIconServicesCatalogInfoMask = 531550
)
const (
KSystemIconsCreator = 1835098995
)
Variables ¶
This section is empty.
Functions ¶
func AcquireIconRef
deprecated
func GetCustomIconsEnabled
deprecated
func GetIconRefFromComponent
deprecated
func GetIconRefFromComponent(inComponent *carboncore.ComponentRecord, outIconRef unsafe.Pointer) int
Deprecated: This function is no longer supported. Use NSWorkspace and NSImage to get icons.
func GetIconRefFromFileInfo
deprecated
func GetIconRefFromFileInfo(inRef *carboncore.FSRef, inFileNameLength uint, inFileName *uint16, inWhichInfo uint, inCatalogInfo *carboncore.FSCatalogInfo, inUsageFlags uint, outIconRef unsafe.Pointer, outLabel *int16) int
Deprecated: Use -[NSWorkspace iconForFile:] instead.
func GetIconRefFromIconFamilyPtr
deprecated
func GetIconRefFromIconFamilyPtr(inIconFamilyPtr *osservices.IconFamilyResource, inSize int, outIconRef unsafe.Pointer) int
Deprecated: This function is no longer supported. Use NSWorkspace and NSImage to get icons.
func GetIconRefOwners
deprecated
func IsDataAvailableInIconRef
deprecated
func IsValidIconRef
deprecated
func KLSItemContentType
deprecated
func KLSItemContentType() uintptr
Deprecated: Use the URL resource property NSURLContentTypeKey instead.
func KLSItemDisplayKind
deprecated
func KLSItemDisplayKind() uintptr
Deprecated: Use the URL resource property kCFURLLocalizedTypeDescriptionKey or NSURLLocalizedTypeDescriptionKey instead.
func KLSItemDisplayName
deprecated
func KLSItemDisplayName() uintptr
Deprecated: Use the URL resource property kCFURLLocalizedNameKey or NSURLLocalizedNameKey instead.
func KLSItemExtension
deprecated
func KLSItemExtension() uintptr
Deprecated: Use CFURLCopyPathExtension or -[NSURL pathExtension] instead.
func KLSItemExtensionIsHidden
deprecated
func KLSItemExtensionIsHidden() uintptr
Deprecated: Use the URL resource property kCFURLHasHiddenExtensionKey or NSURLHasHiddenExtensionKey instead.
func KLSItemFileCreator
deprecated
func KLSItemFileCreator() uintptr
Deprecated: Use the URL resource property NSURLContentTypeKey to get the file's UTI instead.
func KLSItemFileType
deprecated
func KLSItemFileType() uintptr
Deprecated: Use the URL resource property NSURLContentTypeKey to get the file's UTI instead.
func KLSItemIsInvisible
deprecated
func KLSItemIsInvisible() uintptr
Deprecated: Use the URL resource property kCFURLIsHiddenKey or NSURLIsHiddenKey instead.
func KLSItemQuarantineProperties
deprecated
func KLSItemQuarantineProperties() uintptr
Deprecated: Use the URL resource property kCFURLQuarantinePropertiesKey or NSURLQuarantinePropertiesKey instead.
func KLSItemRoleHandlerDisplayName
deprecated
func KLSItemRoleHandlerDisplayName() uintptr
Deprecated: Instead, resolve the desired role handler for the file, then use the URL resource property kCFURLLocalizedNameKey or NSURLLocalizedNameKey on the role handler's URL.
func KLSQuarantineAgentBundleIdentifierKey ¶
func KLSQuarantineAgentBundleIdentifierKey() uintptr
func KLSQuarantineAgentNameKey ¶
func KLSQuarantineAgentNameKey() uintptr
func KLSQuarantineDataURLKey ¶
func KLSQuarantineDataURLKey() uintptr
func KLSQuarantineOriginURLKey ¶
func KLSQuarantineOriginURLKey() uintptr
func KLSQuarantineTimeStampKey ¶
func KLSQuarantineTimeStampKey() uintptr
func KLSQuarantineTypeCalendarEventAttachment ¶
func KLSQuarantineTypeCalendarEventAttachment() uintptr
func KLSQuarantineTypeEmailAttachment ¶
func KLSQuarantineTypeEmailAttachment() uintptr
func KLSQuarantineTypeInstantMessageAttachment ¶
func KLSQuarantineTypeInstantMessageAttachment() uintptr
func KLSQuarantineTypeKey ¶
func KLSQuarantineTypeKey() uintptr
func KLSQuarantineTypeOtherAttachment ¶
func KLSQuarantineTypeOtherAttachment() uintptr
func KLSQuarantineTypeOtherDownload ¶
func KLSQuarantineTypeOtherDownload() uintptr
func KLSQuarantineTypeWebDownload ¶
func KLSQuarantineTypeWebDownload() uintptr
func KUTExportedTypeDeclarationsKey ¶
func KUTExportedTypeDeclarationsKey() uintptr
func KUTImportedTypeDeclarationsKey ¶
func KUTImportedTypeDeclarationsKey() uintptr
func KUTTagClassFilenameExtension
deprecated
func KUTTagClassFilenameExtension() uintptr
Deprecated: Use UTTagClassFilenameExtension instead.
func KUTTagClassMIMEType
deprecated
func KUTTagClassMIMEType() uintptr
Deprecated: Use UTTagClassMIMEType instead.
func KUTTagClassNSPboardType
deprecated
func KUTTagClassNSPboardType() uintptr
Deprecated: NSPasteboard types are obsolete.
func KUTTagClassOSType
deprecated
func KUTTagClassOSType() uintptr
Deprecated: HFS file types are obsolete.
func KUTType3DContent
deprecated
func KUTType3DContent() uintptr
Deprecated: Use UTType3DContent or UTType.threeDContent (swift) instead.
func KUTTypeAVIMovie
deprecated
func KUTTypeAVIMovie() uintptr
Deprecated: Use UTTypeAVI or UTType.avi (swift) instead.
func KUTTypeAliasFile
deprecated
func KUTTypeAliasFile() uintptr
Deprecated: Use UTTypeAliasFile or UTType.aliasFile (swift) instead.
func KUTTypeAliasRecord
deprecated
func KUTTypeAliasRecord() uintptr
Deprecated: The Alias Manager is obsolete.
func KUTTypeAppleICNS
deprecated
func KUTTypeAppleICNS() uintptr
Deprecated: Use UTTypeICNS or UTType.icns (swift) instead.
func KUTTypeAppleProtectedMPEG4Audio
deprecated
func KUTTypeAppleProtectedMPEG4Audio() uintptr
Deprecated: Use UTTypeAppleProtectedMPEG4Audio or UTType.appleProtectedMPEG4Audio (swift) instead.
func KUTTypeAppleProtectedMPEG4Video
deprecated
func KUTTypeAppleProtectedMPEG4Video() uintptr
Deprecated: Use UTTypeAppleProtectedMPEG4Video or UTType.appleProtectedMPEG4Video (swift) instead.
func KUTTypeAppleScript
deprecated
func KUTTypeAppleScript() uintptr
Deprecated: Use UTTypeAppleScript or UTType.appleScript (swift) instead.
func KUTTypeApplication
deprecated
func KUTTypeApplication() uintptr
Deprecated: Use UTTypeApplication or UTType.application (swift) instead.
func KUTTypeApplicationBundle
deprecated
func KUTTypeApplicationBundle() uintptr
Deprecated: Use UTTypeApplicationBundle or UTType.applicationBundle (swift) instead.
func KUTTypeApplicationFile
deprecated
func KUTTypeApplicationFile() uintptr
Deprecated: Classic applications are obsolete.
func KUTTypeArchive
deprecated
func KUTTypeArchive() uintptr
Deprecated: Use UTTypeArchive or UTType.archive (swift) instead.
func KUTTypeAssemblyLanguageSource
deprecated
func KUTTypeAssemblyLanguageSource() uintptr
Deprecated: Use UTTypeAssemblyLanguageSource or UTType.assemblyLanguageSource (swift) instead.
func KUTTypeAudio
deprecated
func KUTTypeAudio() uintptr
Deprecated: Use UTTypeAudio or UTType.audio (swift) instead.
func KUTTypeAudioInterchangeFileFormat
deprecated
func KUTTypeAudioInterchangeFileFormat() uintptr
Deprecated: Use UTTypeAIFF or UTType.aiff (swift) instead.
func KUTTypeAudiovisualContent
deprecated
func KUTTypeAudiovisualContent() uintptr
Deprecated: Use UTTypeAudiovisualContent or UTType.audiovisualcontent (swift) instead.
func KUTTypeBMP
deprecated
func KUTTypeBMP() uintptr
Deprecated: Use UTTypeBMP or UTType.bmp (swift) instead.
func KUTTypeBinaryPropertyList
deprecated
func KUTTypeBinaryPropertyList() uintptr
Deprecated: Use UTTypeBinaryPropertyList or UTType.binaryPropertyList (swift) instead.
func KUTTypeBookmark
deprecated
func KUTTypeBookmark() uintptr
Deprecated: Use UTTypeBookmark or UTType.bookmark (swift) instead.
func KUTTypeBundle
deprecated
func KUTTypeBundle() uintptr
Deprecated: Use UTTypeBundle or UTType.bundle (swift) instead.
func KUTTypeBzip2Archive
deprecated
func KUTTypeBzip2Archive() uintptr
Deprecated: Use UTTypeBZ2 or UTType.bzip2 (swift) instead.
func KUTTypeCHeader
deprecated
func KUTTypeCHeader() uintptr
Deprecated: Use UTTypeCHeader or UTType.cHeader (swift) instead.
func KUTTypeCPlusPlusHeader
deprecated
func KUTTypeCPlusPlusHeader() uintptr
Deprecated: Use UTTypeCPlusPlusHeader or UTType.cPlusPlusHeader (swift) instead.
func KUTTypeCPlusPlusSource
deprecated
func KUTTypeCPlusPlusSource() uintptr
Deprecated: Use UTTypeCPlusPlusSource or UTType.cPlusPlusSource (swift) instead.
func KUTTypeCSource
deprecated
func KUTTypeCSource() uintptr
Deprecated: Use UTTypeCSource or UTType.cSource (swift) instead.
func KUTTypeCalendarEvent
deprecated
func KUTTypeCalendarEvent() uintptr
Deprecated: Use UTTypeCalendarEvent or UTType.calendarEvent (swift) instead.
func KUTTypeCommaSeparatedText
deprecated
func KUTTypeCommaSeparatedText() uintptr
Deprecated: Use UTTypeCommaSeparatedText or UTType.commaSeparatedText (swift) instead.
func KUTTypeCompositeContent
deprecated
func KUTTypeCompositeContent() uintptr
Deprecated: Use UTTypeCompositeContent or UTType.compositeContent (swift) instead.
func KUTTypeConformsToKey ¶
func KUTTypeConformsToKey() uintptr
func KUTTypeContact
deprecated
func KUTTypeContact() uintptr
Deprecated: Use UTTypeContact or UTType.contact (swift) instead.
func KUTTypeContent
deprecated
func KUTTypeContent() uintptr
Deprecated: Use UTTypeContent or UTType.content (swift) instead.
func KUTTypeData
deprecated
func KUTTypeData() uintptr
Deprecated: Use UTTypeData or UTType.data (swift) instead.
func KUTTypeDatabase
deprecated
func KUTTypeDatabase() uintptr
Deprecated: Use UTTypeDatabase or UTType.database (swift) instead.
func KUTTypeDelimitedText
deprecated
func KUTTypeDelimitedText() uintptr
Deprecated: Use UTTypeDelimitedText or UTType.delimitedText (swift) instead.
func KUTTypeDescriptionKey ¶
func KUTTypeDescriptionKey() uintptr
func KUTTypeDirectory
deprecated
func KUTTypeDirectory() uintptr
Deprecated: Use UTTypeDirectory or UTType.directory (swift) instead.
func KUTTypeDiskImage
deprecated
func KUTTypeDiskImage() uintptr
Deprecated: Use UTTypeDiskImage or UTType.diskImage (swift) instead.
func KUTTypeElectronicPublication
deprecated
func KUTTypeElectronicPublication() uintptr
Deprecated: Use UTTypeEPUB or UTType.electronicPublication (swift) instead.
func KUTTypeEmailMessage
deprecated
func KUTTypeEmailMessage() uintptr
Deprecated: Use UTTypeEmailMessage or UTType.emailMessage (swift) instead.
func KUTTypeExecutable
deprecated
func KUTTypeExecutable() uintptr
Deprecated: Use UTTypeExecutable or UTType.executable (swift) instead.
func KUTTypeFileURL
deprecated
func KUTTypeFileURL() uintptr
Deprecated: Use UTTypeFileURL or UTType.fileURL (swift) instead.
func KUTTypeFlatRTFD
deprecated
func KUTTypeFlatRTFD() uintptr
Deprecated: Use UTTypeFlatRTFD or UTType.flatRTFD (swift) instead.
func KUTTypeFolder
deprecated
func KUTTypeFolder() uintptr
Deprecated: Use UTTypeFolder or UTType.folder (swift) instead.
func KUTTypeFont
deprecated
func KUTTypeFont() uintptr
Deprecated: Use UTTypeFont or UTType.font (swift) instead.
func KUTTypeFramework
deprecated
func KUTTypeFramework() uintptr
Deprecated: Use UTTypeFramework or UTType.framework (swift) instead.
func KUTTypeGIF
deprecated
func KUTTypeGIF() uintptr
Deprecated: Use UTTypeGIF or UTType.gif (swift) instead.
func KUTTypeGNUZipArchive
deprecated
func KUTTypeGNUZipArchive() uintptr
Deprecated: Use UTTypeGZIP or UTType.gnu (swift) instead.
func KUTTypeHTML
deprecated
func KUTTypeHTML() uintptr
Deprecated: Use UTTypeHTML or UTType.html (swift) instead.
func KUTTypeICO
deprecated
func KUTTypeICO() uintptr
Deprecated: Use UTTypeICO or UTType.ico (swift) instead.
func KUTTypeIconFileKey ¶
func KUTTypeIconFileKey() uintptr
func KUTTypeIdentifierKey ¶
func KUTTypeIdentifierKey() uintptr
func KUTTypeImage
deprecated
func KUTTypeImage() uintptr
Deprecated: Use UTTypeImage or UTType.image (swift) instead.
func KUTTypeInkText
deprecated
func KUTTypeInkText() uintptr
Deprecated: The Ink framework is obsolete.
func KUTTypeInternetLocation
deprecated
func KUTTypeInternetLocation() uintptr
Deprecated: Use UTTypeInternetLocation or UTType.internetLocation (swift) instead.
func KUTTypeItem
deprecated
func KUTTypeItem() uintptr
Deprecated: Use UTTypeItem or UTType.item (swift) instead.
func KUTTypeJPEG
deprecated
func KUTTypeJPEG() uintptr
Deprecated: Use UTTypeJPEG or UTType.jpeg (swift) instead.
func KUTTypeJPEG2000
deprecated
func KUTTypeJPEG2000() uintptr
Deprecated: JPEG2000 is no longer supported by this operating system.
func KUTTypeJSON
deprecated
func KUTTypeJSON() uintptr
Deprecated: Use UTTypeJSON or UTType.json (swift) instead.
func KUTTypeJavaArchive
deprecated
func KUTTypeJavaArchive() uintptr
Deprecated: Java support is no longer provided by this operating system. Install a JDK to use Java.
func KUTTypeJavaClass
deprecated
func KUTTypeJavaClass() uintptr
Deprecated: Java support is no longer provided by this operating system. Install a JDK to use Java.
func KUTTypeJavaScript
deprecated
func KUTTypeJavaScript() uintptr
Deprecated: Use UTTypeJavaScript or UTType.javaScript (swift) instead.
func KUTTypeJavaSource
deprecated
func KUTTypeJavaSource() uintptr
Deprecated: Java support is no longer provided by this operating system. Install a JDK to use Java.
func KUTTypeLivePhoto
deprecated
func KUTTypeLivePhoto() uintptr
Deprecated: Use UTTypeLivePhoto or UTType.livePhoto (swift) instead.
func KUTTypeLog
deprecated
func KUTTypeLog() uintptr
Deprecated: Use UTTypeLog or UTType.log (swift) instead.
func KUTTypeM3UPlaylist
deprecated
func KUTTypeM3UPlaylist() uintptr
Deprecated: Use UTTypeM3UPlaylist or UTType.m3uPlaylist (swift) instead.
func KUTTypeMIDIAudio
deprecated
func KUTTypeMIDIAudio() uintptr
Deprecated: Use UTTypeMIDI or UTType.MIDIAudio (swift) instead.
func KUTTypeMP3
deprecated
func KUTTypeMP3() uintptr
Deprecated: Use UTTypeMP3 or UTType.mp3 (swift) instead.
func KUTTypeMPEG
deprecated
func KUTTypeMPEG() uintptr
Deprecated: Use UTTypeMPEG or UTType.mpeg (swift) instead.
func KUTTypeMPEG2TransportStream
deprecated
func KUTTypeMPEG2TransportStream() uintptr
Deprecated: Use UTTypeMPEG2TransportStream or UTType.mpeg2TransportStream (swift) instead.
func KUTTypeMPEG2Video
deprecated
func KUTTypeMPEG2Video() uintptr
Deprecated: Use UTTypeMPEG2Video or UTType.mpeg2Video (swift) instead.
func KUTTypeMPEG4
deprecated
func KUTTypeMPEG4() uintptr
Deprecated: Use UTTypeMPEG4Movie or UTType.mpeg4 (swift) instead.
func KUTTypeMPEG4Audio
deprecated
func KUTTypeMPEG4Audio() uintptr
Deprecated: Use UTTypeMPEG4Audio or UTType.mpeg4Audio (swift) instead.
func KUTTypeMessage
deprecated
func KUTTypeMessage() uintptr
Deprecated: Use UTTypeMessage or UTType.message (swift) instead.
func KUTTypeMountPoint
deprecated
func KUTTypeMountPoint() uintptr
Deprecated: Use UTTypeMountPoint or UTType.mountPoint (swift) instead.
func KUTTypeMovie
deprecated
func KUTTypeMovie() uintptr
Deprecated: Use UTTypeMovie or UTType.movie (swift) instead.
func KUTTypeOSAScript
deprecated
func KUTTypeOSAScript() uintptr
Deprecated: Use UTTypeOSAScript or UTType.osaScript (swift) instead.
func KUTTypeOSAScriptBundle
deprecated
func KUTTypeOSAScriptBundle() uintptr
Deprecated: Use UTTypeOSAScriptBundle or UTType.osaScriptBundle (swift) instead.
func KUTTypeObjectiveCPlusPlusSource
deprecated
func KUTTypeObjectiveCPlusPlusSource() uintptr
Deprecated: Use UTTypeObjectiveCPlusPlusSource or UTType.objectiveCPlusPlusSource (swift) instead.
func KUTTypeObjectiveCSource
deprecated
func KUTTypeObjectiveCSource() uintptr
Deprecated: Use UTTypeObjectiveCSource or UTType.objectiveCSource (swift) instead.
func KUTTypePDF
deprecated
func KUTTypePDF() uintptr
Deprecated: Use UTTypePDF or UTType.pdf (swift) instead.
func KUTTypePHPScript
deprecated
func KUTTypePHPScript() uintptr
Deprecated: Use UTTypePHPScript or UTType.phpScript (swift) instead.
func KUTTypePICT
deprecated
func KUTTypePICT() uintptr
Deprecated: QuickDraw is obsolete.
func KUTTypePKCS12
deprecated
func KUTTypePKCS12() uintptr
Deprecated: Use UTTypePKCS12 or UTType.pkcs12 (swift) instead.
func KUTTypePNG
deprecated
func KUTTypePNG() uintptr
Deprecated: Use UTTypePNG or UTType.png (swift) instead.
func KUTTypePackage
deprecated
func KUTTypePackage() uintptr
Deprecated: Use UTTypePackage or UTType.package (swift) instead.
func KUTTypePerlScript
deprecated
func KUTTypePerlScript() uintptr
Deprecated: Use UTTypePerlScript or UTType.perlScript (swift) instead.
func KUTTypePlainText
deprecated
func KUTTypePlainText() uintptr
Deprecated: Use UTTypePlainText or UTType.plainText (swift) instead.
func KUTTypePlaylist
deprecated
func KUTTypePlaylist() uintptr
Deprecated: Use UTTypePlaylist or UTType.playlist (swift) instead.
func KUTTypePluginBundle
deprecated
func KUTTypePluginBundle() uintptr
Deprecated: Use UTTypePluginBundle or UTType.pluginBundle (swift) instead.
func KUTTypePresentation
deprecated
func KUTTypePresentation() uintptr
Deprecated: Use UTTypePresentation or UTType.presentation (swift) instead.
func KUTTypePropertyList
deprecated
func KUTTypePropertyList() uintptr
Deprecated: Use UTTypePropertyList or UTType.propertyList (swift) instead.
func KUTTypePythonScript
deprecated
func KUTTypePythonScript() uintptr
Deprecated: Use UTTypePythonScript or UTType.pythonScript (swift) instead.
func KUTTypeQuickLookGenerator
deprecated
func KUTTypeQuickLookGenerator() uintptr
Deprecated: Use UTTypeQuickLookGenerator or UTType.quickLookGenerator (swift) instead.
func KUTTypeQuickTimeImage
deprecated
func KUTTypeQuickTimeImage() uintptr
Deprecated: The QuickTime Image file format is obsolete.
func KUTTypeQuickTimeMovie
deprecated
func KUTTypeQuickTimeMovie() uintptr
Deprecated: Use UTTypeQuickTimeMovie or UTType.quickTimeMovie (swift) instead.
func KUTTypeRTF
deprecated
func KUTTypeRTF() uintptr
Deprecated: Use UTTypeRTF or UTType.rtf (swift) instead.
func KUTTypeRTFD
deprecated
func KUTTypeRTFD() uintptr
Deprecated: Use UTTypeRTFD or UTType.RTFD (swift) instead.
func KUTTypeRawImage
deprecated
func KUTTypeRawImage() uintptr
Deprecated: Use UTTypeRAWImage or UTType.rawImage (swift) instead.
func KUTTypeReferenceURLKey ¶
func KUTTypeReferenceURLKey() uintptr
func KUTTypeResolvable
deprecated
func KUTTypeResolvable() uintptr
Deprecated: Use UTTypeResolvable or UTType.resolvable (swift) instead.
func KUTTypeRubyScript
deprecated
func KUTTypeRubyScript() uintptr
Deprecated: Use UTTypeRubyScript or UTType.rubyScript (swift) instead.
func KUTTypeScalableVectorGraphics
deprecated
func KUTTypeScalableVectorGraphics() uintptr
Deprecated: Use UTTypeSVG or UTType.svg (swift) instead.
func KUTTypeScript
deprecated
func KUTTypeScript() uintptr
Deprecated: Use UTTypeScript or UTType.script (swift) instead.
func KUTTypeShellScript
deprecated
func KUTTypeShellScript() uintptr
Deprecated: Use UTTypeShellScript or UTType.shellScript (swift) instead.
func KUTTypeSourceCode
deprecated
func KUTTypeSourceCode() uintptr
Deprecated: Use UTTypeSourceCode or UTType.sourceCode (swift) instead.
func KUTTypeSpotlightImporter
deprecated
func KUTTypeSpotlightImporter() uintptr
Deprecated: Use UTTypeSpotlightImporter or UTType.spotlightImporter (swift) instead.
func KUTTypeSpreadsheet
deprecated
func KUTTypeSpreadsheet() uintptr
Deprecated: Use UTTypeSpreadsheet or UTType.spreadsheet (swift) instead.
func KUTTypeSwiftSource
deprecated
func KUTTypeSwiftSource() uintptr
Deprecated: Use UTTypeSwiftSource or UTType.swiftSource (swift) instead.
func KUTTypeSymLink
deprecated
func KUTTypeSymLink() uintptr
Deprecated: Use UTTypeSymbolicLink or UTType.symbolicLink (swift) instead.
func KUTTypeSystemPreferencesPane
deprecated
func KUTTypeSystemPreferencesPane() uintptr
Deprecated: Use UTTypeSystemPreferencesPane or UTType.systemPreferencesPane (swift) instead.
func KUTTypeTIFF
deprecated
func KUTTypeTIFF() uintptr
Deprecated: Use UTTypeTIFF or UTType.tiff (swift) instead.
func KUTTypeTXNTextAndMultimediaData
deprecated
func KUTTypeTXNTextAndMultimediaData() uintptr
Deprecated: The Multilingual Text Engine is obsolete.
func KUTTypeTabSeparatedText
deprecated
func KUTTypeTabSeparatedText() uintptr
Deprecated: Use UTTypeTabSeparatedText or UTType.tabSeparatedText (swift) instead.
func KUTTypeTagSpecificationKey ¶
func KUTTypeTagSpecificationKey() uintptr
func KUTTypeText
deprecated
func KUTTypeText() uintptr
Deprecated: Use UTTypeText or UTType.text (swift) instead.
func KUTTypeToDoItem
deprecated
func KUTTypeToDoItem() uintptr
Deprecated: Use UTTypeToDoItem or UTType.toDoItem (swift) instead.
func KUTTypeURL
deprecated
func KUTTypeURL() uintptr
Deprecated: Use UTTypeURL or UTType.url (swift) instead.
func KUTTypeURLBookmarkData
deprecated
func KUTTypeURLBookmarkData() uintptr
Deprecated: Use UTTypeURLBookmarkData or UTType.urlBookmarkData (swift) instead.
func KUTTypeUTF8PlainText
deprecated
func KUTTypeUTF8PlainText() uintptr
Deprecated: Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead.
func KUTTypeUTF8TabSeparatedText
deprecated
func KUTTypeUTF8TabSeparatedText() uintptr
Deprecated: Use UTTypeUTF8TabSeparatedText or UTType.utf8tabSeparatedText (swift) instead.
func KUTTypeUTF16ExternalPlainText
deprecated
func KUTTypeUTF16ExternalPlainText() uintptr
Deprecated: Use UTTypeUTF16ExternalPlainText or UTType.utf16ExternalPlainText (swift) instead.
func KUTTypeUTF16PlainText
deprecated
func KUTTypeUTF16PlainText() uintptr
Deprecated: Use UTTypeUTF16PlainText or UTType.utf16PlainText (swift) instead.
func KUTTypeUnixExecutable
deprecated
func KUTTypeUnixExecutable() uintptr
Deprecated: Use UTTypeUnixExecutable or UTType.unixExecutable (swift) instead.
func KUTTypeVCard
deprecated
func KUTTypeVCard() uintptr
Deprecated: Use UTTypeVCard or UTType.vCard (swift) instead.
func KUTTypeVersionKey ¶
func KUTTypeVersionKey() uintptr
func KUTTypeVideo
deprecated
func KUTTypeVideo() uintptr
Deprecated: Use UTTypeVideo or UTType.video (swift) instead.
func KUTTypeVolume
deprecated
func KUTTypeVolume() uintptr
Deprecated: Use UTTypeVolume or UTType.volume (swift) instead.
func KUTTypeWaveformAudio
deprecated
func KUTTypeWaveformAudio() uintptr
Deprecated: Use UTTypeWAV or UTType.wav (swift) instead.
func KUTTypeWebArchive
deprecated
func KUTTypeWebArchive() uintptr
Deprecated: Use UTTypeWebArchive or UTType.webArchive (swift) instead.
func KUTTypeWindowsExecutable
deprecated
func KUTTypeWindowsExecutable() uintptr
Deprecated: Use UTTypeEXE or UTType.windowsExecutable (swift) instead.
func KUTTypeX509Certificate
deprecated
func KUTTypeX509Certificate() uintptr
Deprecated: Use UTTypeX509Certificate or UTType.x509Certificate (swift) instead.
func KUTTypeXML
deprecated
func KUTTypeXML() uintptr
Deprecated: Use UTTypeXML or UTType.xml (swift) instead.
func KUTTypeXMLPropertyList
deprecated
func KUTTypeXMLPropertyList() uintptr
Deprecated: Use UTTypeXMLPropertyList or UTType.xmlPropertyList (swift) instead.
func KUTTypeXPCService
deprecated
func KUTTypeXPCService() uintptr
Deprecated: Use UTTypeXPCService or UTType.xpcService (swift) instead.
func KUTTypeZipArchive
deprecated
func KUTTypeZipArchive() uintptr
Deprecated: Use UTTypeZIP or UTType.zip (swift) instead.
func LSCanRefAcceptItem
deprecated
func LSCanRefAcceptItem(inItemFSRef *carboncore.FSRef, inTargetRef *carboncore.FSRef, inRoleMask LSRolesMask, inFlags LSAcceptanceFlags, outAcceptsItem *uint8) int
Deprecated: Use LSCanURLAcceptURL instead.
func LSCanURLAcceptURL ¶
func LSCanURLAcceptURL(inItemURL unsafe.Pointer, inTargetURL unsafe.Pointer, inRoleMask LSRolesMask, inFlags LSAcceptanceFlags, outAcceptsItem *uint8) int
func LSCopyAllHandlersForURLScheme
deprecated
func LSCopyAllRoleHandlersForContentType
deprecated
func LSCopyAllRoleHandlersForContentType(inContentType unsafe.Pointer, inRole LSRolesMask) unsafe.Pointer
Deprecated: Use -[NSWorkspace URLsForApplicationsToOpenContentType:] instead.
func LSCopyApplicationForMIMEType
deprecated
func LSCopyApplicationURLsForURL
deprecated
func LSCopyApplicationURLsForURL(inURL unsafe.Pointer, inRoleMask LSRolesMask) unsafe.Pointer
Deprecated: Use -[NSWorkspace URLsForApplicationsToOpenURL:] instead.
func LSCopyDefaultApplicationURLForContentType
deprecated
func LSCopyDefaultApplicationURLForURL
deprecated
func LSCopyDefaultHandlerForURLScheme
deprecated
func LSCopyDefaultRoleHandlerForContentType
deprecated
func LSCopyDefaultRoleHandlerForContentType(inContentType unsafe.Pointer, inRole LSRolesMask) unsafe.Pointer
Deprecated: Use -[NSWorkspace URLForApplicationToOpenContentType:] instead.
func LSCopyDisplayNameForRef
deprecated
func LSCopyDisplayNameForRef(inRef *carboncore.FSRef, outDisplayName unsafe.Pointer) int
Deprecated: Use the URL resource property kCFURLLocalizedNameKey or NSURLLocalizedNameKey instead.
func LSCopyItemAttribute
deprecated
func LSCopyItemAttribute(inItem *carboncore.FSRef, inRoles LSRolesMask, inAttributeName unsafe.Pointer, outValue unsafe.Pointer) int
Deprecated: Use CFURLCopyResourcePropertyForKey or -[NSURL getResourceValue:forKey:error:] instead.
func LSCopyItemAttributes
deprecated
func LSCopyItemAttributes(inItem *carboncore.FSRef, inRoles LSRolesMask, inAttributeNames unsafe.Pointer, outValues unsafe.Pointer) int
Deprecated: Use CFURLCopyResourcePropertiesForKeys or -[NSURL resourceValuesForKeys:error:] instead.
func LSCopyItemInfoForRef
deprecated
func LSCopyItemInfoForRef(inItemRef *carboncore.FSRef, inWhichInfo LSRequestedInfo, outItemInfo *LSItemInfoRecord) int
Deprecated: Use URL resource properties instead.
func LSCopyItemInfoForURL
deprecated
func LSCopyItemInfoForURL(inURL unsafe.Pointer, inWhichInfo LSRequestedInfo, outItemInfo *LSItemInfoRecord) int
Deprecated: Use URL resource properties instead.
func LSCopyKindStringForRef
deprecated
func LSCopyKindStringForRef(inFSRef *carboncore.FSRef, outKindString unsafe.Pointer) int
Deprecated: Use the URL resource property kCFURLLocalizedTypeDescriptionKey or NSURLLocalizedTypeDescriptionKey instead.
func LSGetApplicationForInfo
deprecated
func LSGetApplicationForInfo(inType uint, inCreator uint, inExtension unsafe.Pointer, inRoleMask LSRolesMask, outAppRef *carboncore.FSRef, outAppURL unsafe.Pointer) int
Deprecated: Use -[NSWorkspace URLForApplicationToOpenContentType:] instead.
func LSGetApplicationForItem
deprecated
func LSGetApplicationForItem(inItemRef *carboncore.FSRef, inRoleMask LSRolesMask, outAppRef *carboncore.FSRef, outAppURL unsafe.Pointer) int
Deprecated: Use LSCopyDefaultApplicationURLForURL instead.
func LSGetApplicationForURL
deprecated
func LSGetApplicationForURL(inURL unsafe.Pointer, inRoleMask LSRolesMask, outAppRef *carboncore.FSRef, outAppURL unsafe.Pointer) int
Deprecated: Use LSCopyDefaultApplicationURLForURL instead.
func LSGetExtensionInfo
deprecated
func LSOpenApplication
deprecated
func LSOpenApplication(appParams *LSApplicationParameters, outPSN unsafe.Pointer) int
Deprecated: Use -[NSWorkspace launchApplicationAtURL:options:configuration:error:] instead.
func LSOpenFSRef
deprecated
func LSOpenFSRef(inRef *carboncore.FSRef, outLaunchedRef *carboncore.FSRef) int
Deprecated: Use LSOpenCFURLRef or -[NSWorkspace openURL:] instead.
func LSOpenFromRefSpec
deprecated
func LSOpenFromRefSpec(inLaunchSpec *LSLaunchFSRefSpec, outLaunchedRef *carboncore.FSRef) int
Deprecated: Use LSOpenFromURLSpec or NSWorkspace instead.
func LSOpenFromURLSpec ¶
func LSOpenFromURLSpec(inLaunchSpec *LSLaunchURLSpec, outLaunchedURL unsafe.Pointer) int
func LSOpenItemsWithRole
deprecated
func LSOpenItemsWithRole(inItems *carboncore.FSRef, inItemCount int, inRole LSRolesMask, inAEParam *ae.AEKeyDesc, inAppParams *LSApplicationParameters, outPSNs unsafe.Pointer, inMaxPSNCount int) int
Deprecated: Use NSWorkspace instead.
func LSOpenURLsWithRole
deprecated
func LSOpenURLsWithRole(inURLs unsafe.Pointer, inRole LSRolesMask, inAEParam *ae.AEKeyDesc, inAppParams *LSApplicationParameters, outPSNs unsafe.Pointer, inMaxPSNCount int) int
Deprecated: Use NSWorkspace instead.
func LSRegisterFSRef
deprecated
func LSRegisterFSRef(inRef *carboncore.FSRef, inUpdate uint8) int
Deprecated: Use LSRegisterURL instead.
func LSSetDefaultRoleHandlerForContentType
deprecated
func LSSetExtensionHiddenForRef
deprecated
func LSSetExtensionHiddenForRef(inRef *carboncore.FSRef, inHide uint8) int
Deprecated: Use the URL resource property kCFURLHasHiddenExtensionKey or NSURLHasHiddenExtensionKey instead.
func LSSetExtensionHiddenForURL
deprecated
func LSSetHandlerOptionsForContentType
deprecated
func LSSetHandlerOptionsForContentType(inContentType unsafe.Pointer, inOptions LSHandlerOptions) int
Deprecated: Creator codes are deprecated on OS X.
func LSSetItemAttribute
deprecated
func LSSetItemAttribute(inItem *carboncore.FSRef, inRoles LSRolesMask, inAttributeName unsafe.Pointer, inValue unsafe.Pointer) int
Deprecated: Use CFURLSetResourcePropertyForKey or -[NSURL setResourceValue:forKey:error:] instead.
func ReadIconFromFSRef
deprecated
func ReadIconFromFSRef(ref *carboncore.FSRef, iconFamily ***osservices.IconFamilyResource) int
Deprecated: Use -[NSWorkspace iconForFile:] instead.
func RegisterIconRefFromFSRef
deprecated
func RegisterIconRefFromIconFamily
deprecated
func RegisterIconRefFromIconFamily(creator uint, iconType uint, iconFamily **osservices.IconFamilyResource, theIconRef unsafe.Pointer) int16
Deprecated: This function is no longer supported. Use NSWorkspace and NSImage to get icons.
func ReleaseIconRef
deprecated
func RemoveIconRefOverride
deprecated
func SetCustomIconsEnabled
deprecated
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
func UTCreateStringForOSType
deprecated
func UTGetOSTypeFromString
deprecated
func UTTypeCopyDeclaration
deprecated
func UTTypeCopyDeclaringBundleURL
deprecated
func UTTypeCopyDescription
deprecated
func UTTypeIsDeclared
deprecated
func UTTypeIsDynamic
deprecated
func UnregisterIconRef
deprecated
func UpdateIconRef
deprecated
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type LSAcceptanceFlags ¶
type LSAcceptanceFlags int64
const ( KLSAcceptDefault LSAcceptanceFlags = 1 KLSAcceptAllowLoginUI LSAcceptanceFlags = 2 )
func (LSAcceptanceFlags) String ¶
func (e LSAcceptanceFlags) String() string
type LSApplicationParameters ¶
type LSHandlerOptions ¶
type LSHandlerOptions int64
const ( KLSHandlerOptionsDefault LSHandlerOptions = 0 KLSHandlerOptionsIgnoreCreator LSHandlerOptions = 1 )
func LSGetHandlerOptionsForContentType
deprecated
func LSGetHandlerOptionsForContentType(inContentType unsafe.Pointer) LSHandlerOptions
Deprecated: Creator codes are deprecated on OS X.
func (LSHandlerOptions) String ¶
func (e LSHandlerOptions) String() string
type LSItemInfoFlags ¶
type LSItemInfoFlags int64
const ( KLSItemInfoIsPlainFile LSItemInfoFlags = 1 KLSItemInfoIsPackage LSItemInfoFlags = 2 KLSItemInfoIsApplication LSItemInfoFlags = 4 KLSItemInfoIsContainer LSItemInfoFlags = 8 KLSItemInfoIsAliasFile LSItemInfoFlags = 16 KLSItemInfoIsSymlink LSItemInfoFlags = 32 KLSItemInfoIsInvisible LSItemInfoFlags = 64 KLSItemInfoIsNativeApp LSItemInfoFlags = 128 KLSItemInfoIsClassicApp LSItemInfoFlags = 256 KLSItemInfoAppPrefersNative LSItemInfoFlags = 512 KLSItemInfoAppPrefersClassic LSItemInfoFlags = 1024 KLSItemInfoAppIsScriptable LSItemInfoFlags = 2048 KLSItemInfoIsVolume LSItemInfoFlags = 4096 KLSItemInfoExtensionIsHidden LSItemInfoFlags = 1048576 )
func (LSItemInfoFlags) String ¶
func (e LSItemInfoFlags) String() string
type LSItemInfoRecord ¶
type LSItemInfoRecord struct {
Flags LSItemInfoFlags
Filetype uint
Creator uint
Extension unsafe.Pointer
}
type LSLaunchFSRefSpec ¶
type LSLaunchFSRefSpec struct {
AppRef *carboncore.FSRef
NumDocs uint
ItemRefs *carboncore.FSRef
PassThruParams *ae.AEDesc
LaunchFlags LSLaunchFlags
AsyncRefCon unsafe.Pointer
}
type LSLaunchFlags ¶
type LSLaunchFlags int64
const ( KLSLaunchDefaults LSLaunchFlags = 1 KLSLaunchAndPrint LSLaunchFlags = 2 KLSLaunchAndDisplayErrors LSLaunchFlags = 64 KLSLaunchDontAddToRecents LSLaunchFlags = 256 KLSLaunchDontSwitch LSLaunchFlags = 512 KLSLaunchAsync LSLaunchFlags = 65536 KLSLaunchNewInstance LSLaunchFlags = 524288 KLSLaunchAndHide LSLaunchFlags = 1048576 KLSLaunchAndHideOthers LSLaunchFlags = 2097152 )
func (LSLaunchFlags) String ¶
func (e LSLaunchFlags) String() string
type LSLaunchURLSpec ¶
type LSRequestedInfo ¶
type LSRequestedInfo int64
const ( KLSRequestExtension LSRequestedInfo = 1 KLSRequestTypeCreator LSRequestedInfo = 2 KLSRequestBasicFlagsOnly LSRequestedInfo = 4 KLSRequestAppTypeFlags LSRequestedInfo = 8 KLSRequestAllFlags LSRequestedInfo = 16 KLSRequestIconAndKind LSRequestedInfo = 32 KLSRequestExtensionFlagsOnly LSRequestedInfo = 64 KLSRequestAllInfo LSRequestedInfo = 4294967295 )
func (LSRequestedInfo) String ¶
func (e LSRequestedInfo) String() string
type LSRolesMask ¶
type LSRolesMask int64
const ( KLSRolesNone LSRolesMask = 1 KLSRolesViewer LSRolesMask = 2 KLSRolesEditor LSRolesMask = 4 KLSRolesShell LSRolesMask = 8 KLSRolesAll LSRolesMask = 4294967295 )
func (LSRolesMask) String ¶
func (e LSRolesMask) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string