mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #2133 from rainyl/dev
Add plugin API: HideMainWindow(), IsMainWindowVisible()
This commit is contained in:
commit
cd06f13d76
2 changed files with 15 additions and 0 deletions
|
|
@ -80,6 +80,17 @@ namespace Flow.Launcher.Plugin
|
|||
/// </summary>
|
||||
void ShowMainWindow();
|
||||
|
||||
/// <summary>
|
||||
/// Hide MainWindow
|
||||
/// </summary>
|
||||
void HideMainWindow();
|
||||
|
||||
/// <summary>
|
||||
/// Representing whether the main window is visible
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool IsMainWindowVisible();
|
||||
|
||||
/// <summary>
|
||||
/// Show message box
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -73,6 +73,10 @@ namespace Flow.Launcher
|
|||
|
||||
public void ShowMainWindow() => _mainVM.Show();
|
||||
|
||||
public void HideMainWindow() => _mainVM.Hide();
|
||||
|
||||
public bool IsMainWindowVisible() => _mainVM.MainWindowVisibilityStatus;
|
||||
|
||||
public void CheckForNewUpdate() => _settingsVM.UpdateApp();
|
||||
|
||||
public void SaveAppAllSettings()
|
||||
|
|
|
|||
Loading…
Reference in a new issue