Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=b4244e46320d8217d5ff56bd1c82d99f1a97217f
commit b4244e46320d8217d5ff56bd1c82d99f1a97217f Author: James Buren <[email protected]> Date: Mon Apr 28 07:05:10 2014 -0500 add global variable to expose access to the loaded UI module diff --git a/src-new/main.cpp b/src-new/main.cpp new file mode 100644 index 0000000..e2c68ed --- /dev/null +++ b/src-new/main.cpp @@ -0,0 +1,8 @@ +#include "ui.hpp" + +UI *ui = NULL; + +int main(int argc, char **argv) +{ + return 0; +} diff --git a/src-new/ui.hpp b/src-new/ui.hpp index 86ffb74..6c111a6 100644 --- a/src-new/ui.hpp +++ b/src-new/ui.hpp @@ -22,3 +22,5 @@ class Widget static const unsigned char EXPAND_HORIZONTAL; static const unsigned char EXPAND_VERTICAL; }; + +extern UI *ui; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
