Function listKnownAssociatedApplications
List all known associated applications for given MIME type, including explicitly removed by user.
string[] listKnownAssociatedApplications(ListRange, CacheRange)
(
string mimeType,
ListRange mimeAppsListFiles,
CacheRange mimeInfoCacheFiles
)
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. |
Returns
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.