/** * @file Common/globals.h * @brief Global constants and macros for eVaf * @author Enar Vaikene * * Copyright (c) 2011 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * * This file can be used under the terms of the GNU General Public License * version 3.0 as published by the Free Software Foundation and appearing in * the file LICENSE included in the packaging of this file. Please review the * the following information to ensure the GNU General Public License version * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. * * Alternatively, this file may be used in accordance with the Commercial License * Agreement provided with the Software. */ #ifndef __COMMON_GLOBALS_H # define __COMMON_GLOBALS_H #include "libcommon.h" /** * Common namespace for eVaf. */ namespace eVaf { /** * Common eVaf library. * * This library contains interfaces, classes and functions shared by all the eVaf applications * and modules. This library is the required dependency for all the other libraries, modules and * applications. * * The common eVaf library shall be initialized with the eVaf::Common::init() function. */ namespace Common { /** * eVaf common library initialized * @param args List of arguments * @return True if ok; false if the initialization failed * * Call this function to initialize the common eVaf library after creating the Qt application * object and before loading any of the modules. */ extern bool COMMON_EXPORT init(QStringList const & args); } // namespace eVaf::Common } // namespace eVaf #endif // globals.h