Module: OS::Mac::FFI::LaunchServices Private

Extended by:
NativeLibrary
Defined in:
os/mac/ffi/launch_services.rb

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

LaunchServices.framework wrapper

Class Method Summary collapse

Class Method Details

.quarantine_agent_name_keyFiddle::Pointer

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

LaunchServices/LSQuarantine.h:

extern const CFStringRef kLSQuarantineAgentNameKey;

Returns:

  • (Fiddle::Pointer)


21
# File 'os/mac/ffi/launch_services.rb', line 21

def self.quarantine_agent_name_key = constant("kLSQuarantineAgentNameKey", dereference: true)

.quarantine_data_url_keyFiddle::Pointer

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

LaunchServices/LSQuarantine.h:

extern const CFStringRef kLSQuarantineDataURLKey;

Returns:

  • (Fiddle::Pointer)


36
# File 'os/mac/ffi/launch_services.rb', line 36

def self.quarantine_data_url_key = constant("kLSQuarantineDataURLKey", dereference: true)

.quarantine_origin_url_keyFiddle::Pointer

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

LaunchServices/LSQuarantine.h:

extern const CFStringRef kLSQuarantineOriginURLKey;

Returns:

  • (Fiddle::Pointer)


41
# File 'os/mac/ffi/launch_services.rb', line 41

def self.quarantine_origin_url_key = constant("kLSQuarantineOriginURLKey", dereference: true)

.quarantine_type_keyFiddle::Pointer

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

LaunchServices/LSQuarantine.h:

extern const CFStringRef kLSQuarantineTypeKey;

Returns:

  • (Fiddle::Pointer)


26
# File 'os/mac/ffi/launch_services.rb', line 26

def self.quarantine_type_key = constant("kLSQuarantineTypeKey", dereference: true)

.quarantine_type_web_downloadFiddle::Pointer

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

LaunchServices/LSQuarantine.h:

extern const CFStringRef kLSQuarantineTypeWebDownload;

Returns:

  • (Fiddle::Pointer)


31
# File 'os/mac/ffi/launch_services.rb', line 31

def self.quarantine_type_web_download = constant("kLSQuarantineTypeWebDownload", dereference: true)