MimeAppsGroup

inilike.file.IniLikeGroup subclass for easy access to the list of applications associated with given type.

Constructors

this
this(string groupName)
Undocumented in source.

Members

Functions

appsForMimeType
auto appsForMimeType(string mimeType)

List applications for given mimeType.

deleteAssociation
void deleteAssociation(string mimeType, string desktopId)

Delete desktopId from the list of desktop ids for mimeType.

setAssocations
void setAssocations(string mimeType, Range desktopIds)

Set list of desktop ids for mimeType. This overwrites existing list completely. Can be used to set the list of added assocations rearranged in client code to manage the preference order.

validateKey
void validateKey(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

joinApps
string joinApps(Range apps, bool trailingSemicolon)

Join list of desktop ids into string.

splitApps
auto splitApps(string apps)

Split string list of desktop ids into range.

Meta