listAssociatedApplications

List associated applications for given MIME type.

string[]
listAssociatedApplications
(
ListRange
CacheRange
)
(
string mimeType
,,)
if (
isForwardRange!ListRange &&
is(ElementType!ListRange : const(MimeAppsListFile))
&&
isForwardRange!CacheRange
&&
is(ElementType!CacheRange : const(MimeInfoCacheFile))
)

Parameters

mimeType string

MIME type or uri scheme handler in question.

mimeAppsListFiles ListRange

Range of MimeAppsListFile objects to use in searching.

mimeInfoCacheFiles CacheRange

Range of MimeInfoCacheFile objects to use in searching.

Return Value

Type: string[]

Array of desktop ids of applications that are capable of opening of given MIME type or url of given scheme. Note: It does not check if returned desktop ids point to valid .desktop files.

See Also

Meta