X-Git-Url: https://git.llucax.com/software/bife/bife%20%20.git/blobdiff_plain/9f62980f827505ed1f231b737ec126dda041a475..62eb4c434ac30aa83ef05be78130cb42105f618c:/parser.h/software/bife/bife++.git/blobdiff_plain/9f62980f827505ed1f231b737ec126dda041a475..62eb4c434ac30aa83ef05be78130cb42105f618c:/parser.h?ds=inline 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;