ACF $AcfVersion:0$
CApplicationInfoBasedFileNameComp.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
8
9
10namespace ifile
11{
12
13
15{
16public:
18
19 I_BEGIN_COMPONENT(CApplicationInfoBasedFileNameComp);
20 I_ASSIGN(m_applicationInfoCompPtr, "ApplicationInfo", "Application info", false, "ApplicationInfo");
21 I_END_COMPONENT;
22
23 // reimplemented (ifile::IFileNameParam)
24 virtual const QString& GetPath() const override;
25
26private:
27 I_REF(ibase::IApplicationInfo, m_applicationInfoCompPtr);
28
29 mutable QString m_calculatedPath;
30
31 static QString s_processIdVariable;
32 static QString s_companyNameVariable;
33 static QString s_productNameVariable;
34 static QString s_applicationNameVariable;
35 static QString s_applicationSubnameVariable;
36 static QString s_applicationTypeVariable;
37 static QString s_mainVersionVariable;
38 static QString s_userVariable;
39};
40
41
42} // namespace ifile
43
44
This interface provides some information about the application.
virtual const QString & GetPath() const override
Get path.
Contains interfaces and implementations of file system related components.