You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
704 B
22 lines
704 B
using MultiTerm.Protocols.Types;
|
|
|
|
namespace MultiTerm.Protocols;
|
|
|
|
public interface IProtocolSettingsViewModel
|
|
{
|
|
/// <summary>
|
|
/// Indicates the protocol type of the implementing SettingsViewModel.
|
|
/// </summary>
|
|
ProtocolType ProtocolType { get; }
|
|
|
|
/// <summary>
|
|
/// Event that is thrown when the user requested to connect to the device with the entered settings.
|
|
/// Provides protocol settings to use for connection.
|
|
/// </summary>
|
|
event EventHandler<ConnectionRequestEventArgs> ConnectRequested;
|
|
|
|
/// <summary>
|
|
/// Event that is thrown when the user requested to disconnect from the device.
|
|
/// </summary>
|
|
event EventHandler? DisconnectRequested;
|
|
} |