#include <listimporter.h>
Public Member Functions | |
virtual | ~ListImporter () |
virtual bool | get_frame (Surface &surface, Time time, ProgressCallback *callback=NULL) |
Gets a frame and puts it into surface. | |
virtual bool | is_animated () |
Returns true if the importer pays attention to the time parameter of get_frame(). | |
Static Public Member Functions | |
static Importer * | create (const char *filename) |
Protected Member Functions | |
ListImporter (const String &filename) |
ListImporter::ListImporter | ( | const String & | filename | ) | [protected] |
ListImporter::~ListImporter | ( | ) | [virtual] |
bool ListImporter::get_frame | ( | Surface & | surface, | |
Time | time, | |||
ProgressCallback * | callback = NULL | |||
) | [virtual] |
Gets a frame and puts it into surface.
surface | Reference to surface to put frame into | |
time | For animated importers, determines which frame to get. For static importers, this parameter is unused. | |
callback | Pointer to callback class for progress, errors, etc. |
true
on success, false
on error Implements synfig::Importer.
bool ListImporter::is_animated | ( | ) | [virtual] |
Returns true
if the importer pays attention to the time parameter of get_frame().
Reimplemented from synfig::Importer.
Importer * ListImporter::create | ( | const char * | filename | ) | [static] |