DesktopFileProvider.this - multiple declarations
Function DesktopFileProvider.this
ditto, but determine binPaths from PATH environment variable automatically.
this
(
const(string[]) applicationsPaths,
DesktopFile . DesktopReadOptions options = DesktopReadOptions(ReadOptions(cast(DuplicateGroupPolicy)cast(ubyte)0u, cast(DuplicateKeyPolicy)cast(ubyte)0u, cast(InvalidKeyPolicy)cast(ubyte)0u, cast(Flag)true), cast(UnknownGroupPolicy)cast(ubyte)0u, cast(ExtensionGroupPolicy)cast(ubyte)1u, cast(ActionGroupPolicy)cast(ubyte)1u)
) @trusted;
Function DesktopFileProvider.this
Construct using given application paths.
this
(
const(string[]) applicationsPaths,
const(string[]) binPaths,
DesktopFile . DesktopReadOptions options = DesktopReadOptions(ReadOptions(cast(DuplicateGroupPolicy)cast(ubyte)0u, cast(DuplicateKeyPolicy)cast(ubyte)0u, cast(InvalidKeyPolicy)cast(ubyte)0u, cast(Flag)true), cast(UnknownGroupPolicy)cast(ubyte)0u, cast(ExtensionGroupPolicy)cast(ubyte)1u, cast(ActionGroupPolicy)cast(ubyte)1u)
) @trusted;
Parameters
Name | Description |
---|---|
applicationsPaths | Paths of applications/ directories where .desktop files are stored. These should be all known paths even if they don't exist at the time. |
binPaths | Paths where executable files are stored. |
options | Options used to read desktop files. |