Logo Search packages:      
Sourcecode: f-spot version File versions

ImportBackend.cs

using FSpot;
using Gdk;

public abstract class 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.
      public abstract int Prepare ();

      // Import one picture.  Returns false when done; then you have to call Finish().
      public abstract bool Step (out StepStatusInfo import_info);

      // Cancel importing.
      public abstract void Cancel ();

      // Complete importing (needs to be called).
      public abstract void Finish ();

      // The import roll. Should be set at Prepare () and removed at Cancel ()
      protected Roll roll;
}

Generated by  Doxygen 1.6.0   Back to index