Public Types | Public Member Functions | List of all members
ibase::IApplicationInfo Class Referenceabstract

This interface provides some information about the application. More...

#include <IApplicationInfo.h>

Inheritance diagram for ibase::IApplicationInfo:
istd::IPolymorphic ibase::CApplicationInfoComp

Public Types

enum  ApplicationAttribute {
  AA_COMPANY_NAME, AA_PRODUCT_NAME, AA_PRODUCT_EDITION, AA_APPLICATION_NAME,
  AA_APPLICATION_SUBNAME, AA_APPLICATION_TYPE, AA_APPLICATION_PATH, AA_LEGAL_COPYRIGHT,
  AA_MAIN_VERSION, AA_USER = 100
}
 

Public Member Functions

virtual QString GetApplicationAttribute (int attributeId, bool allowTranslation=true) const =0
 Get value of application attribute. More...
 
virtual int GetMainVersionId () const =0
 Get ID of main module version ID for iser::IVersionInfo. More...
 
virtual const iser::IVersionInfoGetVersionInfo () const =0
 Get access to application version info. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

This interface provides some information about the application.

Definition at line 23 of file IApplicationInfo.h.

Member Enumeration Documentation

Enumerator
AA_COMPANY_NAME 
AA_PRODUCT_NAME 
AA_PRODUCT_EDITION 
AA_APPLICATION_NAME 
AA_APPLICATION_SUBNAME 
AA_APPLICATION_TYPE 
AA_APPLICATION_PATH 
AA_LEGAL_COPYRIGHT 
AA_MAIN_VERSION 
AA_USER 

Definition at line 26 of file IApplicationInfo.h.

Member Function Documentation

virtual QString ibase::IApplicationInfo::GetApplicationAttribute ( int  attributeId,
bool  allowTranslation = true 
) const
pure virtual

Get value of application attribute.

Parameters
attributeIdID of application attribute
See Also
ApplicationAttribute.

Implemented in ibase::CApplicationInfoComp.

virtual int ibase::IApplicationInfo::GetMainVersionId ( ) const
pure virtual

Get ID of main module version ID for iser::IVersionInfo.

This ID is used to identify which module is main application module. The meaning is the same as meaning of versionId parameters in interface iser::IVersionInfo.

Returns
ID of main module, or negative value if it is undefined.

Implemented in ibase::CApplicationInfoComp.

virtual const iser::IVersionInfo& ibase::IApplicationInfo::GetVersionInfo ( ) const
pure virtual

Get access to application version info.

Implemented in ibase::CApplicationInfoComp.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy