1 /* === S I N F G =========================================================== */
2 /*! \file listimporter.h
3 ** \brief Template Header
5 ** $Id: listimporter.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_LISTIMPORTER_H
25 #define __SINFG_LISTIMPORTER_H
27 /* === H E A D E R S ======================================================= */
31 #include <ETL/smart_ptr>
37 /* === M A C R O S ========================================================= */
39 /* === T Y P E D E F S ===================================================== */
41 /* === C L A S S E S & S T R U C T S ======================================= */
45 /*! \class ListImporter
46 ** \todo Write more detailed description
48 class ListImporter : public Importer
51 std::vector<String> filename_list;
52 std::list<std::pair<int,Surface> > frame_cache;
54 ListImporter(const String &filename);
58 virtual ~ListImporter();
60 virtual bool get_frame(Surface &surface,Time time, ProgressCallback *callback=NULL);
62 virtual bool is_animated();
64 static Importer* create(const char *filename);
67 }; // END of namespace sinfg
69 /* === E N D =============================================================== */