X-Git-Url: https://git.llucax.com/software/bife/bife%20%20.git/blobdiff_plain/9f62980f827505ed1f231b737ec126dda041a475..e3ac7ebf66f6d10d686c1c572ec81d625f0598e6:/parser.h/software/bife/bife++.git/blobdiff_plain/9f62980f827505ed1f231b737ec126dda041a475..e3ac7ebf66f6d10d686c1c572ec81d625f0598e6:/parser.h diff --git a/parser.h b/parser.h index f792646..3476d87 100644 --- a/parser.h +++ b/parser.h @@ -10,6 +10,10 @@ #include #include +// FIXME - Poner esto en un lugar más bonito. +typedef bife::Widget* create_t(const std::string& name, const bife::Hash&); +typedef void destroy_t(bife::Widget*); + namespace bife { using std::string; @@ -30,6 +34,9 @@ namespace bife { WidgetStack stack; // TODO Fallback. + create_t* fb_create; + destroy_t* fb_destroy; + public: /// Widget attributes. Widget* root;