target_null_tile.h

Go to the documentation of this file.
00001 /* === S Y N F I G ========================================================= */
00021 /* ========================================================================= */
00022 
00023 /* === S T A R T =========================================================== */
00024 
00025 #ifndef __SYNFIG_TARGET_NULL_TILE_H
00026 #define __SYNFIG_TARGET_NULL_TILE_H
00027 
00028 /* === H E A D E R S ======================================================= */
00029 
00030 #include "target_tile.h"
00031 #include "general.h"
00032 
00033 /* === M A C R O S ========================================================= */
00034 
00035 /* === T Y P E D E F S ===================================================== */
00036 
00037 /* === C L A S S E S & S T R U C T S ======================================= */
00038 
00039 namespace synfig {
00040 
00045 class Target_Null_Tile : public Target_Tile
00046 {
00047     Target_Null_Tile() { }
00048     
00049 public:
00050 
00051     ~Target_Null_Tile() {  } 
00052     virtual bool add_tile(const synfig::Surface &surface, int x, int y) { return true; }
00053 
00054     virtual bool start_frame(ProgressCallback *cb=NULL)
00055         { return true; }
00056 
00057     virtual void end_frame() { return; }
00058     
00059     static Target* create(const char *filename=0) { return new Target_Null_Tile(); }
00060 }; // END of class Target_Null_Tile
00061 
00062 }; // END of namespace synfig
00063 
00064 /* === E N D =============================================================== */
00065 
00066 #endif

Generated on Fri Jun 23 15:20:50 2006 for synfig by  doxygen 1.4.6