marked stable
[synfig.git] / synfig-core / tags / stable / src / modules / mptr_mplayer / mptr_mplayer.h
1 /*! ========================================================================
2 ** Sinfg
3 ** Template Header File
4 ** $Id: mptr_mplayer.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $
5 **
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
7 **
8 ** This software and associated documentation
9 ** are CONFIDENTIAL and PROPRIETARY property of
10 ** the above-mentioned copyright holder.
11 **
12 ** You may not copy, print, publish, or in any
13 ** other way distribute this software without
14 ** a prior written agreement with
15 ** the copyright holder.
16 **
17 ** === N O T E S ===========================================================
18 **
19 ** ========================================================================= */
20
21 /* === S T A R T =========================================================== */
22
23 #ifndef __SINFG_MPTR_MPLAYER_H
24 #define __SINFG_MPTR_MPLAYER_H
25
26 /* === H E A D E R S ======================================================= */
27
28 #include <sinfg/sinfg.h>
29 #include <stdio.h>
30 #include "string.h"
31
32 /* === M A C R O S ========================================================= */
33
34 /* === T Y P E D E F S ===================================================== */
35
36 /* === C L A S S E S & S T R U C T S ======================================= */
37
38 class mplayer_mptr : public sinfg::Importer
39 {
40 public:
41 private:
42         String filename;
43         
44 public:
45         mplayer_mptr(const char *filename);
46         ~mplayer_mptr();
47
48
49         static const char Name[];
50         static const char Ext[];
51
52         virtual bool GetFrame(sinfg::Time time, sinfg::Surface &, sinfg::ProgressCallback *);
53
54         static sinfg::Importer *New(const char *filename);
55 };
56
57 /* === E N D =============================================================== */
58
59 #endif