layer_mime.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_LAYER_MIME_H
00026 #define __SYNFIG_LAYER_MIME_H
00027 
00028 /* === H E A D E R S ======================================================= */
00029 
00030 #include "layer.h"
00031 #include "string.h"
00032 #include <map>
00033 
00034 /* === M A C R O S ========================================================= */
00035 
00036 /* === T Y P E D E F S ===================================================== */
00037 
00038 /* === C L A S S E S & S T R U C T S ======================================= */
00039 
00040 namespace synfig {
00041 
00048 class Layer_Mime : public Layer
00049 {
00050     std::map<String,ValueBase> param_list;
00051     String name;
00052 public:
00053     Layer_Mime(String name);
00054 
00055     virtual String get_version()const;
00056 
00057     virtual bool set_version(const String &ver);
00058 
00059     virtual bool set_param(const String &param, const ValueBase &value);
00060 
00061     virtual ValueBase get_param(const String &param)const;
00062 
00063     virtual Color get_color(Context context, const Point &pos)const;
00064     virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const;
00065 
00066     virtual Vocab get_param_vocab()const;
00067     virtual String get_local_name()const;
00068 
00069 };
00070 
00071 }; // END of namespace synfig
00072 
00073 /* === E N D =============================================================== */
00074 
00075 #endif

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