Initial Stable Commit
[synfig.git] / synfig-core / trunk / src / modules / mod_libavcodec / mptr.h
diff --git a/synfig-core/trunk/src/modules/mod_libavcodec/mptr.h b/synfig-core/trunk/src/modules/mod_libavcodec/mptr.h
new file mode 100644 (file)
index 0000000..0c61779
--- /dev/null
@@ -0,0 +1,56 @@
+/* === S I N F G =========================================================== */
+/*!    \file mptr.h
+**     \brief writeme
+**
+**     $Id: mptr.h,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $
+**
+**     \legal
+**     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**
+**     This software and associated documentation
+**     are CONFIDENTIAL and PROPRIETARY property of
+**     the above-mentioned copyright holder.
+**
+**     You may not copy, print, publish, or in any
+**     other way distribute this software without
+**     a prior written agreement with
+**     the copyright holder.
+**     \endlegal
+*/
+/* ========================================================================= */
+
+/* === S T A R T =========================================================== */
+
+#ifndef __SINFG_MPTR_H
+#define __SINFG_MPTR_H
+
+/* === H E A D E R S ======================================================= */
+
+#include <sinfg/importer.h>
+#include <sinfg/string.h>
+#include <sinfg/time.h>
+#include <cstdio>
+
+/* === M A C R O S ========================================================= */
+
+/* === T Y P E D E F S ===================================================== */
+
+/* === C L A S S E S & S T R U C T S ======================================= */
+
+class Importer_LibAVCodec : public sinfg::Importer
+{
+SINFG_IMPORTER_MODULE_EXT
+
+private:
+       sinfg::String filename;
+
+public:
+       Importer_LibAVCodec(const char *filename);
+       ~Importer_LibAVCodec();
+
+       virtual bool get_frame(sinfg::Surface &,sinfg::Time, sinfg::ProgressCallback *);
+};
+
+/* === E N D =============================================================== */
+
+#endif