00001 /* === S Y N F I G ========================================================= */ 00025 /* === S T A R T =========================================================== */ 00026 00027 #ifndef __SYNFIG_MPTR_PPM_H 00028 #define __SYNFIG_MPTR_PPM_H 00029 00030 /* === H E A D E R S ======================================================= */ 00031 00032 #include <synfig/importer.h> 00033 #include <synfig/string.h> 00034 #include <synfig/time.h> 00035 #include <cstdio> 00036 00037 /* === M A C R O S ========================================================= */ 00038 00039 /* === T Y P E D E F S ===================================================== */ 00040 00041 /* === C L A S S E S & S T R U C T S ======================================= */ 00042 00043 class bmp_mptr : public synfig::Importer 00044 { 00045 SYNFIG_IMPORTER_MODULE_EXT 00046 00047 private: 00048 synfig::String filename; 00049 00050 public: 00051 bmp_mptr(const char *filename); 00052 ~bmp_mptr(); 00053 00054 virtual bool get_frame(synfig::Surface &surface,synfig::Time time, synfig::ProgressCallback *callback); 00055 }; 00056 00057 /* === E N D =============================================================== */ 00058 00059 #endif