CApplicationInfoBasedFileNameComp.h
Go to the documentation of this file.
1 #ifndef ifile_CApplicationInfoBasedFileNameComp_included
2 #define ifile_CApplicationInfoBasedFileNameComp_included
3 
4 
5 // ACF includes
8 
9 namespace ifile
10 {
11 
13 {
14 public:
16 
17  I_BEGIN_COMPONENT(CApplicationInfoBasedFileNameComp);
18  I_ASSIGN(m_applicationInfoCompPtr, "ApplicationInfo", "Application info", false, "ApplicationInfo");
19  I_END_COMPONENT;
20 
21  // reimplemented (ifile::IFileNameParam)
22  virtual const QString& GetPath() const;
23 
24 private:
25  I_REF(ibase::IApplicationInfo, m_applicationInfoCompPtr);
26 
27  mutable QString m_calculatedPath;
28 
29  static QString s_processIdVariable;
30  static QString s_companyNameVariable;
31  static QString s_productNameVariable;
32  static QString s_applicationNameVariable;
33  static QString s_applicationSubnameVariable;
34  static QString s_applicationTypeVariable;
35  static QString s_mainVersionVariable;
36  static QString s_userVariable;
37 };
38 
39 
40 } // namespace ifile
41 
42 
43 #endif // !ifile_CApplicationInfoBasedFileNameComp_included
44 
45 
virtual const QString & GetPath() const
Get path.
This interface provides some information about the application.

© 2007-2017 Witold Gantzke and Kirill Lepskiy