Files
RobustToolbox/Robust.Client/UserInterface/ClipboardManagerUnsupported.cs
2019-08-01 00:10:20 +02:00

27 lines
627 B
C#

using System;
using Robust.Client.Interfaces.UserInterface;
namespace Robust.Client.UserInterface
{
internal sealed class ClipboardManagerUnsupported : IClipboardManagerInternal
{
public bool Available => false;
public string NotAvailableReason => "Sorry, the clipboard is not supported on your platform.";
public string GetText()
{
throw new NotSupportedException();
}
public void SetText(string text)
{
throw new NotSupportedException();
}
public void Initialize()
{
// Nothing.
}
}
}