00001 /* === S Y N F I G ========================================================= */ 00025 /* === S T A R T =========================================================== */ 00026 00027 #ifndef __SYNFIG_MPTR_MPLAYER_H 00028 #define __SYNFIG_MPTR_MPLAYER_H 00029 00030 /* === H E A D E R S ======================================================= */ 00031 00032 #include <synfig/synfig.h> 00033 #include <stdio.h> 00034 #include "string.h" 00035 00036 /* === M A C R O S ========================================================= */ 00037 00038 /* === T Y P E D E F S ===================================================== */ 00039 00040 /* === C L A S S E S & S T R U C T S ======================================= */ 00041 00042 class mplayer_mptr : public synfig::Importer 00043 { 00044 public: 00045 private: 00046 String filename; 00047 00048 public: 00049 mplayer_mptr(const char *filename); 00050 ~mplayer_mptr(); 00051 00052 00053 static const char Name[]; 00054 static const char Ext[]; 00055 00056 virtual bool GetFrame(synfig::Time time, synfig::Surface &, synfig::ProgressCallback *); 00057 00058 static synfig::Importer *New(const char *filename); 00059 }; 00060 00061 /* === E N D =============================================================== */ 00062 00063 #endif