IApplicationInfo.h
Go to the documentation of this file.
1 #ifndef ibase_IApplicationInfo_included
2 #define ibase_IApplicationInfo_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 // ACF includes
9 #include <istd/IPolymorphic.h>
10 #include <iser/IVersionInfo.h>
11 #include <ibase/ibase.h>
12 
13 
14 namespace ibase
15 {
16 
17 
23 class IApplicationInfo: virtual public istd::IPolymorphic
24 {
25 public:
27  {
37  AA_USER = 100
38  };
39 
44  virtual QString GetApplicationAttribute(int attributeId, bool allowTranslation = true) const = 0;
45 
52  virtual int GetMainVersionId() const = 0;
53 
57  virtual const iser::IVersionInfo& GetVersionInfo() const = 0;
58 };
59 
60 
61 } // namespace ibase
62 
63 
64 #endif // !ibase_IApplicationInfo_included
65 
66 
Provides access to version information.
Definition: IVersionInfo.h:22
virtual int GetMainVersionId() const =0
Get ID of main module version ID for iser::IVersionInfo.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
virtual QString GetApplicationAttribute(int attributeId, bool allowTranslation=true) const =0
Get value of application attribute.
virtual const iser::IVersionInfo & GetVersionInfo() const =0
Get access to application version info.
This interface provides some information about the application.

© 2007-2017 Witold Gantzke and Kirill Lepskiy