mirror of
https://github.com/soukoku/ntwain.git
synced 2025-09-19 10:08:00 +08:00
Test idea of wrapping source identity into .net class.
This commit is contained in:
@@ -13,23 +13,17 @@ namespace NTwain
|
||||
public interface ITwainSession : INotifyPropertyChanged, ITwainOperation
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the source id used for the session.
|
||||
/// Gets the currently open source.
|
||||
/// </summary>
|
||||
/// <value>The source id.</value>
|
||||
TWIdentity SourceId { get; }
|
||||
/// <value>
|
||||
/// The current source.
|
||||
/// </value>
|
||||
TwainSource Source { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current state number as defined by the TWAIN spec.
|
||||
/// </summary>
|
||||
/// <value>The state.</value>
|
||||
int State { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the supported caps for the currently open source.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The supported caps.
|
||||
/// </value>
|
||||
IList<CapabilityId> SupportedCaps { get; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user