X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fglobals.h;h=bac62aef606ff8b72f147d0ac1b7351290c235d5;hb=8958311b9f05fc65cdf9e528db8b4b32a94eb24a;hp=93346d58f702ef851a0150ec5fef2df6622938d3;hpb=4d81227da330c21c7aa0badc88bd5ad4467067fb;p=evaf
diff --git a/src/libs/Common/globals.h b/src/libs/Common/globals.h
index 93346d5..bac62ae 100644
--- a/src/libs/Common/globals.h
+++ b/src/libs/Common/globals.h
@@ -24,6 +24,7 @@
#include "ilogger.h"
/**
+ * @mainpage
* eVaf is a C++ cross-platform modular application development framework using Qt.
*
* The eVaf main executable is an empty container that needs to be filled with external modules to
@@ -50,6 +51,12 @@
* data object by one. If no other module kept the data object, then the data object's reference counter
* becomes zero and it is destroyed too.
*/
+
+/**
+ * Global eVaf namespace.
+ *
+ * eVaf is a C++ cross-platform modular application development framework using Qt.
+ */
namespace eVaf {
/**
@@ -89,15 +96,15 @@ namespace Internal {
*/
#define EVAF_TEST(cond) \
if (!cond) \
- EVAF_FATAL(#cond);
+ EVAF_FATAL_ERROR(#cond);
/**
* Tests that the condition is true with a custom error message.
*
* This macro tests for the condition and if not true, exist with a custom fatal error message.
*/
-#define EVAF_TEST_X(const, msg) \
+#define EVAF_TEST_X(cond, msg) \
if (!cond) \
- EVAF_FATAL(msg);
+ EVAF_FATAL_ERROR(msg);
#endif // globals.h