@@ -21,25 +21,76 @@ public interface IQuickSwitchDialog : IDisposable
2121 IQuickSwitchDialogWindow ? CheckDialogWindow ( IntPtr hwnd ) ;
2222 }
2323
24+ /// <summary>
25+ /// Interface for handling a specific file dialog window in QuickSwitch.
26+ /// </summary>
2427 public interface IQuickSwitchDialogWindow : IDisposable
2528 {
29+ /// <summary>
30+ /// The handle of the dialog window.
31+ /// </summary>
2632 IntPtr Handle { get ; }
2733
34+ /// <summary>
35+ /// Get the current tab of the dialog window.
36+ /// </summary>
37+ /// <returns></returns>
2838 IQuickSwitchDialogWindowTab GetCurrentTab ( ) ;
2939 }
3040
41+ /// <summary>
42+ /// Interface for handling a specific tab in a file dialog window in QuickSwitch.
43+ /// </summary>
3144 public interface IQuickSwitchDialogWindowTab : IDisposable
3245 {
46+ /// <summary>
47+ /// The handle of the dialog tab.
48+ /// </summary>
3349 IntPtr Handle { get ; }
3450
51+ /// <summary>
52+ /// Get the current folder path of the dialog tab.
53+ /// </summary>
54+ /// <returns></returns>
3555 string GetCurrentFolder ( ) ;
3656
57+ /// <summary>
58+ /// Get the current file of the dialog tab.
59+ /// </summary>
60+ /// <returns></returns>
3761 string GetCurrentFile ( ) ;
3862
63+ /// <summary>
64+ /// Jump to a folder in the dialog tab.
65+ /// </summary>
66+ /// <param name="path">
67+ /// The path to the folder to jump to.
68+ /// </param>
69+ /// <param name="auto">
70+ /// Whether folder jump is under automatical mode.
71+ /// </param>
72+ /// <returns>
73+ /// True if the jump was successful, false otherwise.
74+ /// </returns>
3975 bool JumpFolder ( string path , bool auto ) ;
4076
77+ /// <summary>
78+ /// Jump to a file in the dialog tab.
79+ /// </summary>
80+ /// <param name="path">
81+ /// The path to the file to jump to.
82+ /// </param>
83+ /// <returns>
84+ /// True if the jump was successful, false otherwise.
85+ /// </returns>
4186 bool JumpFile ( string path ) ;
4287
88+ /// <summary>
89+ /// Open the file in the dialog tab.
90+ /// </summary>
91+ /// <returns>
92+ /// True if the file was opened successfully, false otherwise.
93+ /// </returns>
4394 bool Open ( ) ;
4495 }
4596}
0 commit comments