Go to the documentation of this file. 40 #ifndef __OPENFLUID_BASE_INIT_HPP__ 41 #define __OPENFLUID_BASE_INIT_HPP__ 52 #define OPENFLUID_APPLICATION _M_qapp 54 #define INIT_OPENFLUID_APPLICATION(ac,av) \ 56 QCoreApplication OPENFLUID_APPLICATION(ac,av); \ 57 openfluid::base::Environment::init(); \ 58 openfluid::base::Environment::prepareUserDataDirectory(); 60 #define INIT_OPENFLUID_APPLICATION_WITH_GUI(ac,av) \ 62 QApplication OPENFLUID_APPLICATION(ac,av); \ 63 openfluid::base::Environment::init(); \ 64 openfluid::base::Environment::prepareUserDataDirectory(); 67 #define CLOSE_OPENFLUID_APPLICATION_WITH_GUI \ 68 OPENFLUID_APPLICATION.exec();