ImportBackend.cs

using FSpot;
using Gdk;
publicabstractclass ImportBackend {
// Prepare for importing; returns the number of pictures available.// If it returns zero, you should not call Step(), Cancel() or Finish() until you call Prepare() again.publicabstractint Prepare ();
// Import one picture. Returns false when done; then you have to call Finish().publicabstractbool Step (out StepStatusInfo import_info);
// Cancel importing.publicabstractvoid Cancel ();
// Complete importing (needs to be called).publicabstractvoid Finish ();
// The import roll. Should be set at Prepare () and removed at Cancel ()protected Roll roll;
}