* @brief eVaf application interface
* @author Enar Vaikene
*
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
*
* This file is part of the eVaf C++ cross-platform application development framework.
*
*/
virtual QString const xmlFileName() const = 0;
+ /**
+ * Enters the main event loop of the Qt application.
+ * @return Value returned by the Qt application
+ *
+ * This function enters the event loop of the Qt application. Use this function to start event handling
+ * instead of calling QCoreApplication::exec() or QApplication::exec() functions directly.
+ */
+ virtual int exec() = 0;
+
/**
* Requests the eVaf application to restart.
*