Function findKnownAssociatedApplications
Find all known associated applications for given MIME type, including explicitly removed by user.
const(DesktopFile)[] findKnownAssociatedApplications(ListRange, CacheRange)
(
string mimeType,
ListRange mimeAppsListFiles,
CacheRange mimeInfoCacheFiles,
IDesktopFileProvider desktopFileProvider
)
if (isForwardRange!ListRange && is(ElementType!ListRange : const(MimeAppsListFile)) && isForwardRange!CacheRange && is(ElementType!CacheRange : const(MimeInfoCacheFile)));
Parameters
| Name | Description |
|---|---|
| mimeType | MIME type or uri scheme handler in question. |
| mimeAppsListFiles | Range of MimeAppsListFile objects to use in searching. |
| mimeInfoCacheFiles | Range of MimeInfoCacheFile objects to use in searching. |
| desktopFileProvider | Desktop file provider instance. Must be non-null. |
Returns
Array of found DesktopFile objects capable of opening file of given MIME type or url of given scheme.