mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
Clean up FileDialogManager by removing unused code
Removed unused GetCurrentPath method and unnecessary using directives.
This commit is contained in:
parent
256ab9dc9c
commit
8285aa1014
1 changed files with 0 additions and 8 deletions
|
|
@ -2,8 +2,6 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
using Dalamud.Bindings.ImGui;
|
using Dalamud.Bindings.ImGui;
|
||||||
|
|
||||||
using FFXIVClientStructs;
|
|
||||||
|
|
||||||
namespace Dalamud.Interface.ImGuiFileDialog;
|
namespace Dalamud.Interface.ImGuiFileDialog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -27,7 +25,6 @@ public class FileDialogManager
|
||||||
#pragma warning restore SA1401
|
#pragma warning restore SA1401
|
||||||
#pragma warning restore SA1201
|
#pragma warning restore SA1201
|
||||||
|
|
||||||
|
|
||||||
private FileDialog? dialog;
|
private FileDialog? dialog;
|
||||||
private Action<bool, string>? callback;
|
private Action<bool, string>? callback;
|
||||||
private Action<bool, List<string>>? multiCallback;
|
private Action<bool, List<string>>? multiCallback;
|
||||||
|
|
@ -180,11 +177,6 @@ public class FileDialogManager
|
||||||
this.multiCallback = null;
|
this.multiCallback = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string? GetCurrentPath()
|
|
||||||
{
|
|
||||||
return this.dialog?.GetCurrentPath();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnSelectionChange(object sender, string path) => this.SelectionChanged?.Invoke(sender, path);
|
private void OnSelectionChange(object sender, string path) => this.SelectionChanged?.Invoke(sender, path);
|
||||||
|
|
||||||
private void SetDialog(
|
private void SetDialog(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue