]>
vaikene.ee Git - evaf/blob - src/libs/Common/globals.h
2 * @file Common/globals.h
3 * @brief Global constants and macros for eVaf
6 * Copyright (c) 2011 Enar Vaikene
8 * This file is part of the eVaf C++ cross-platform application development framework.
10 * This file can be used under the terms of the GNU General Public License
11 * version 3.0 as published by the Free Software Foundation and appearing in
12 * the file LICENSE included in the packaging of this file. Please review the
13 * the following information to ensure the GNU General Public License version
14 * 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
16 * Alternatively, this file may be used in accordance with the Commercial License
17 * Agreement provided with the Software.
20 #ifndef __COMMON_GLOBALS_H
21 # define __COMMON_GLOBALS_H
23 #include "libcommon.h"
26 * Common namespace for eVaf.
31 * Common eVaf library.
33 * This library contains interfaces, classes and functions shared by all the eVaf applications
34 * and modules. This library is the required dependency for all the other libraries, modules and
37 * The common eVaf library shall be initialized with the eVaf::Common::init() function.
42 * eVaf common library initialized
43 * @param args List of arguments
44 * @return True if ok; false if the initialization failed
46 * Call this function to initialize the common eVaf library after creating the Qt application
47 * object and before loading any of the modules.
49 extern bool COMMON_EXPORT
init(QStringList
const & args
);
51 } // namespace eVaf::Common