ICF 3.0.5.47
Technical documentation of ICF Libraries
CApplicationInfoBasedFileNameComp.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// ICF includes
12
13namespace ifile
14{
15
17{
18public:
20
21 I_BEGIN_COMPONENT(CApplicationInfoBasedFileNameComp);
22 I_ASSIGN(m_applicationInfoCompPtr, "ApplicationInfo", "Application info", false, "ApplicationInfo");
23 I_END_COMPONENT;
24
25 // reimplemented (ifile::IFileNameParam)
26 const QString& GetPath() const override;
27
28private:
29 I_REF(ibase::IApplicationInfo, m_applicationInfoCompPtr);
30
31 mutable QString m_calculatedPath;
32
33 static QString s_processIdVariable;
34 static QString s_companyNameVariable;
35 static QString s_productNameVariable;
36 static QString s_applicationNameVariable;
37 static QString s_applicationSubnameVariable;
38 static QString s_applicationTypeVariable;
39 static QString s_mainVersionVariable;
40 static QString s_userVariable;
41};
42
43
44} // namespace ifile
45
46
This interface provides some information about the application.
const QString & GetPath() const override
Get path.
Contains interfaces and implementations of file system related components.

© Witold Gantzke and Kirill Lepskiy