]>
vaikene.ee Git - evaf/blob - src/libs/Common/app.h
c95464179d271d011f1edb7c103876cc77c66ac1
3 * @brief Application interface implementation
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_APP_H
21 #define __COMMON_APP_H
33 * iApp application interface implementation
35 class App
: public iApp
46 * Initializes the interface implementation
47 * @return True if ok; false if initialization failed
54 virtual QString
const name() const { return mName
; }
56 virtual QString
const language() const { return mLanguage
; }
58 virtual QString
const xmlFileName() const;
60 virtual void restart();
64 virtual bool isReady() const { return mReady
; }
69 /// Flag indicating that the eVaf application is ready
72 /// Name of the application
75 /// Language for the application
78 /// Name of the application's XML file
83 } // namespace eVaf::Common::Internal
84 } // namespace eVaf::Common