Function listDefaultApplications

List explicitily set default applications for given MIME type.

string[] listDefaultApplications(ListRange) (
  string mimeType,
  ListRange mimeAppsListFiles
)
if (isForwardRange!ListRange && is(ElementType!ListRange : const(MimeAppsListFile)));

Parameters

NameDescription
mimeType MIME type or uri scheme handler in question.
mimeAppsListFiles Range of MimeAppsListFile objects to use in searching.

Returns

Array of desktop ids of default applications.

Note

It does not check if returned desktop ids point to valid .desktop files.

See Also

findDefaultApplication