X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fimporter.h;h=4391c4eea9f79a415ac31f11a0e997f6636f850c;hb=662aa088c1710830ff30e4ff0b1b407a6d2cea4e;hp=62c410e98d024132fd85e3d8c2b83551e64dc27f;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/importer.h b/synfig-core/trunk/src/synfig/importer.h index 62c410e..4391c4e 100644 --- a/synfig-core/trunk/src/synfig/importer.h +++ b/synfig-core/trunk/src/synfig/importer.h @@ -1,3 +1,4 @@ +#include /* === S Y N F I G ========================================================= */ /*! \file importer.h ** \brief writeme @@ -108,6 +109,13 @@ public: ** \see ProgressCallback, Surface */ virtual bool get_frame(Surface &surface,Time time, ProgressCallback *callback=NULL)=0; + virtual bool get_frame(Surface &surface,Time time, + bool &trimmed __attribute__ ((unused)), + unsigned int &width __attribute__ ((unused)), unsigned int &height __attribute__ ((unused)), + unsigned int &top __attribute__ ((unused)), unsigned int &left __attribute__ ((unused)), + ProgressCallback *callback=NULL) { + return get_frame(surface,time,callback); + } //! Returns \c true if the importer pays attention to the \a time parameter of get_frame() virtual bool is_animated() { return false; }