44 static const std::vector<std::string> &
main_args();
51 virtual std::unique_ptr<Application>
create() = 0;
69 template<
typename ApplicationClass>
79 std::unique_ptr<Application> create()
override
81 return std::unique_ptr<Application>(
new ApplicationClass());
Helper class to create cross platform applications.
Definition: Application/application.h:70
static const std::vector< std::string > & main_args()
Returns the command line arguments passed to the application.
virtual std::unique_ptr< Application > create()=0
ApplicationInstancePrivate(bool catch_exceptions=true)
ApplicationInstance(bool catch_exceptions=true)
Constructor.
Definition: Application/application.h:74
Definition: Application/application.h:47
Base class for the application object.
Definition: Application/application.h:38
virtual ~Application()
Definition: Application/application.h:41
Definition: Application/application.h:35