1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- namespace TriLibCore.SFB
- {
-
-
- public interface IStandaloneFileBrowser<T>
- {
-
-
-
-
-
-
- IList<T> OpenFilePanel(string title, string directory, ExtensionFilter[] extensions, bool multiselect);
-
-
-
-
-
- IList<T> OpenFolderPanel(string title, string directory, bool multiselect);
-
-
-
-
-
-
- T SaveFilePanel(string title, string directory, string defaultName, ExtensionFilter[] extensions);
-
-
-
-
-
-
- void OpenFilePanelAsync(string title, string directory, ExtensionFilter[] extensions, bool multiselect, Action<IList<T>> cb);
-
-
-
-
-
- void OpenFolderPanelAsync(string title, string directory, bool multiselect, Action<IList<T>> cb);
-
-
-
-
-
-
- void SaveFilePanelAsync(string title, string directory, string defaultName, ExtensionFilter[] extensions, Action<T> cb);
- }
- }
|