#include <importer.h>

Public Types | |
| typedef Importer *(* | Factory )(const char *filename) |
| typedef std::map < String, Factory > | Book |
| typedef etl::handle < Importer > | Handle |
| typedef etl::loose_handle < Importer > | LooseHandle |
| typedef etl::handle < const Importer > | ConstHandle |
Public Member Functions | |
| Gamma & | gamma () |
| const Gamma & | gamma () const |
| virtual | ~Importer () |
| virtual bool | get_frame (Surface &surface, Time time, ProgressCallback *callback=NULL)=0 |
| 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 Book & | book () |
| static bool | subsys_init () |
| static bool | subsys_stop () |
| static Handle | open (const String &filename) |
| Attempts to open filename, and returns a handle to the associated Importer. | |
Static Public Attributes | |
| static Book * | book_ |
Protected Member Functions | |
| Importer () | |
| typedef Importer*(* synfig::Importer::Factory)(const char *filename) |
| typedef std::map<String,Factory> synfig::Importer::Book |
| typedef etl::handle<Importer> synfig::Importer::Handle |
| typedef etl::loose_handle<Importer> synfig::Importer::LooseHandle |
| typedef etl::handle<const Importer> synfig::Importer::ConstHandle |
| Importer::Importer | ( | ) | [protected] |
| Importer::~Importer | ( | ) | [virtual] |
| Importer::Book & Importer::book | ( | ) | [static] |
| bool Importer::subsys_init | ( | ) | [static] |
| bool Importer::subsys_stop | ( | ) | [static] |
| Gamma& synfig::Importer::gamma | ( | ) | [inline] |
| const Gamma& synfig::Importer::gamma | ( | ) | const [inline] |
| virtual bool synfig::Importer::get_frame | ( | Surface & | surface, | |
| Time | time, | |||
| ProgressCallback * | callback = NULL | |||
| ) | [pure 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 Implemented in synfig::ListImporter.
| virtual bool synfig::Importer::is_animated | ( | ) | [inline, virtual] |
Returns true if the importer pays attention to the time parameter of get_frame().
Reimplemented in synfig::ListImporter.
| Importer::Handle Importer::open | ( | const String & | filename | ) | [static] |
Attempts to open filename, and returns a handle to the associated Importer.
Importer::Book * synfig::Importer::book_ [static] |
1.5.3