1 /* === S I N F G =========================================================== */
3 ** \brief Template Header
5 ** $Id: layer_mime.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_LAYER_MIME_H
25 #define __SINFG_LAYER_MIME_H
27 /* === H E A D E R S ======================================================= */
33 /* === M A C R O S ========================================================= */
35 /* === T Y P E D E F S ===================================================== */
37 /* === C L A S S E S & S T R U C T S ======================================= */
42 ** The mime layer is a layer that is used when an unknown
43 ** layer type is requested. This allows people without
44 ** all of the correct layers installed to still work with
47 class Layer_Mime : public Layer
49 std::map<String,ValueBase> param_list;
52 Layer_Mime(String name);
54 virtual String get_version()const;
56 virtual bool set_version(const String &ver);
58 virtual bool set_param(const String ¶m, const ValueBase &value);
60 virtual ValueBase get_param(const String ¶m)const;
62 virtual Color get_color(Context context, const Point &pos)const;
63 virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const;
65 virtual Vocab get_param_vocab()const;
66 virtual String get_local_name()const;
70 }; // END of namespace sinfg
72 /* === E N D =============================================================== */