2014-04-20 18:42:51 -04:00
|
|
|
|
using NTwain.Data;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
2014-04-22 06:50:58 -04:00
|
|
|
|
using System.ComponentModel;
|
2014-04-20 18:42:51 -04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NTwain
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// General interface for a TWAIN session.
|
|
|
|
|
|
/// </summary>
|
2014-04-22 06:50:58 -04:00
|
|
|
|
public interface ITwainSession : INotifyPropertyChanged, ITwainOperation
|
2014-04-20 18:42:51 -04:00
|
|
|
|
{
|
2014-04-22 06:50:58 -04:00
|
|
|
|
/// <summary>
|
2014-05-19 20:48:21 -04:00
|
|
|
|
/// Gets the currently open source.
|
2014-04-22 06:50:58 -04:00
|
|
|
|
/// </summary>
|
2014-05-19 20:48:21 -04:00
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The current source.
|
|
|
|
|
|
/// </value>
|
|
|
|
|
|
TwainSource Source { get; }
|
2014-04-22 06:50:58 -04:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the current state number as defined by the TWAIN spec.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>The state.</value>
|
|
|
|
|
|
int State { get; }
|
2014-04-20 18:42:51 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|