mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 11:40:52 +01:00
* Removed the Interfaces folder. * All objects inside the GameObjects subfolders are now in the GameObjects namespace. * Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces. * Simplified Robust.client.Graphics namespace. * Automated remove redundant using statements.
22 lines
593 B
C#
22 lines
593 B
C#
using System.IO;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Robust.Client.UserInterface
|
|
{
|
|
/// <summary>
|
|
/// Treats ever file dialog operation as cancelled.
|
|
/// </summary>
|
|
internal sealed class DummyFileDialogManager : IFileDialogManager
|
|
{
|
|
public Task<Stream?> OpenFile(FileDialogFilters? filters = null)
|
|
{
|
|
return Task.FromResult<Stream?>(null);
|
|
}
|
|
|
|
public Task<(Stream fileStream, bool alreadyExisted)?> SaveFile()
|
|
{
|
|
return Task.FromResult<(Stream fileStream, bool alreadyExisted)?>(null);
|
|
}
|
|
}
|
|
}
|