using System;
#nullable enable
namespace Flow.Launcher.Plugin
{
///
/// Interface for handling file explorer instances in DialogJump.
///
public interface IDialogJumpExplorer : IFeatures, IDisposable
{
///
/// Check if the foreground window is a Windows Explorer instance.
///
///
/// The handle of the foreground window to check.
///
///
/// The window if the foreground window is a file explorer instance. Null if it is not.
///
IDialogJumpExplorerWindow? CheckExplorerWindow(IntPtr hwnd);
}
///
/// Interface for handling a specific file explorer window in DialogJump.
///
public interface IDialogJumpExplorerWindow : IDisposable
{
///
/// The handle of the explorer window.
///
IntPtr Handle { get; }
///
/// Get the current folder path of the explorer window.
///
///
string? GetExplorerPath();
}
}