1 // vim: set expandtab tabstop=4 shiftwidth=4:
3 #ifndef BIFE_FALLBACK_H
4 #define BIFE_FALLBACK_H
16 * Base Fallback Widget.
20 class Fallback: public Container {
31 * @param name Name of the widget.
38 * @param name Name of the widget.
39 * @param attrs Widget attributes.
41 Fallback(string, Hash);
46 * @param name Name of the widget.
47 * @param attrs Widget attributes.
48 * @param content Content of the widget.
50 Fallback(string, Hash, Widget&);
55 * @param name Name of the widget.
56 * @param content Content of the widget.
58 Fallback(string, Widget&);
63 * @param name Name of the widget.
64 * @param content Content of the widget.
65 * @param attrs Widget attributes.
67 Fallback(string, Widget&, Hash);
72 virtual ~Fallback(void);
75 * Renders the widget using a HIT template.
77 * @param hit HIT template to use to render de widget.
78 * @return Rendered widget.
80 virtual string render(HIT&) = 0;