mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add FilePath property for PreviewInfo
This commit is contained in:
parent
04cdfed901
commit
71376b8beb
1 changed files with 7 additions and 0 deletions
|
|
@ -241,6 +241,7 @@ namespace Flow.Launcher.Plugin
|
||||||
/// Full image used for preview panel
|
/// Full image used for preview panel
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string PreviewImagePath { get; set; }
|
public string PreviewImagePath { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines if the preview image should occupy the full width of the preview panel.
|
/// Determines if the preview image should occupy the full width of the preview panel.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -248,12 +249,18 @@ namespace Flow.Launcher.Plugin
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
public IconDelegate PreviewDelegate { get; set; }
|
public IconDelegate PreviewDelegate { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// File path of the result. For third-party preview programs such as QuickLook.
|
||||||
|
/// </summary>
|
||||||
|
public string FilePath { get; set; }
|
||||||
|
|
||||||
public static PreviewInfo Default { get; } = new()
|
public static PreviewInfo Default { get; } = new()
|
||||||
{
|
{
|
||||||
PreviewImagePath = null,
|
PreviewImagePath = null,
|
||||||
Description = null,
|
Description = null,
|
||||||
IsMedia = false,
|
IsMedia = false,
|
||||||
PreviewDelegate = null,
|
PreviewDelegate = null,
|
||||||
|
FilePath = null,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue