20 #ifndef __COMMON_IAPP_H 21 #define __COMMON_IAPP_H 90 static iApp * instance();
101 virtual QString
const name()
const = 0;
114 virtual QString
const language()
const = 0;
130 virtual QString
const xmlFileName()
const = 0;
139 virtual int exec() = 0;
147 virtual void restart() = 0;
155 virtual void quit(
bool err =
false) = 0;
160 virtual bool isReady()
const = 0;
173 virtual QString
const rootDir()
const = 0;
186 virtual QString
const dataRootDir()
const = 0;
196 virtual QString
const binDir()
const = 0;
207 virtual QString
const etcDir()
const = 0;
218 virtual QString
const logDir()
const = 0;
229 virtual QString
const docDir()
const = 0;
242 virtual QString
const qtPluginsDir()
const = 0;
static char const *const EV_QUIT
Event that requests the eVaf application to quit.
static char const *const EV_READY
Event informing that the eVaf application is ready.
static char const *const EV_RESTART
Event that requests the eVaf application to restart.
iApp()
Interface constructor.
static char const *const EV_TERMINATING
Event informing that the eVaf application is restarting.
virtual ~iApp()
Empty virtual destructor.
eVaf application interface