ICF 3.1.1.10
Technical documentation of ICF Libraries
IApplicationInfo.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// Qt includes
10#include <QtCore/QString>
11
12// ICF includes
13#include <istd/IPolymorphic.h>
14#include <iser/IVersionInfo.h>
15#include <ibase/ibase.h>
16
17
18namespace ibase
19{
20
21
27class IApplicationInfo: virtual public istd::IPolymorphic
28{
29public:
43
48 virtual QString GetApplicationAttribute(int attributeId, bool allowTranslation = true) const = 0;
49
56 virtual int GetMainVersionId() const = 0;
57
61 virtual const iser::IVersionInfo& GetVersionInfo() const = 0;
62};
63
64
65} // namespace ibase
66
67
This interface provides some information about the application.
virtual int GetMainVersionId() const =0
Get ID of main module version ID for iser::IVersionInfo.
virtual const iser::IVersionInfo & GetVersionInfo() const =0
Get access to application version info.
virtual QString GetApplicationAttribute(int attributeId, bool allowTranslation=true) const =0
Get value of application attribute.
Provides access to version information.
This namespace contains standard classes based on Qt.

© Witold Gantzke and Kirill Lepskiy