1
0
mirror of https://github.com/soukoku/ntwain.git synced 2025-04-30 09:41:48 +08:00
ntwain/NTwain/ITwainState.cs

23 lines
634 B
C#
Raw Normal View History

2014-04-04 19:25:11 +08:00
using NTwain.Data;
using System.ComponentModel;
namespace NTwain
{
/// <summary>
/// Interface for keeping track of current TWAIN state with current app and source ids.
/// </summary>
2014-04-06 04:48:28 +08:00
public interface ITwainState : INotifyPropertyChanged
2014-04-06 06:33:21 +08:00
{
2014-04-04 19:25:11 +08:00
/// <summary>
/// Gets the source id used for the session.
/// </summary>
/// <value>The source id.</value>
TWIdentity SourceId { get; }
/// <summary>
/// Gets the current state number as defined by the TWAIN spec.
/// </summary>
/// <value>The state.</value>
int State { get; }
}
}