ACF $AcfVersion:0$
IPackagesManager.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// Qt includes
6#include <QtCore/QString>
7
8
9// ACF includes
10#include <istd/IChangeable.h>
12
13
14namespace icomp
15{
16
17
19{
20public:
40
45 virtual bool LoadPackages(const QString& configFilePath = QString()) = 0;
46
50 virtual int GetPackageType(const QByteArray& packageId) const = 0;
51
57 virtual QString GetPackagePath(const QByteArray& packageId) const = 0;
63 virtual QString GetRegistryPath(const CComponentAddress& address) const = 0;
64};
65
66
67} // namespace icomp
68
69
70
71
Represents global address of component.
virtual bool LoadPackages(const QString &configFilePath=QString())=0
Configure environment for specified file path.
virtual int GetPackageType(const QByteArray &packageId) const =0
Get type of package as defined in PackageType.
@ PT_COMPOSED
Composed packages are stored in folders containing registry files (acc files).
@ PT_UNKNOWN
Type of this package cannot be found out.
@ PT_UNDIFINED
Package doesn't exist.
@ PT_REAL
Real packages are stored as dynamic linked libraries in arp files.
virtual QString GetPackagePath(const QByteArray &packageId) const =0
Get directory path of specified component package.
virtual QString GetRegistryPath(const CComponentAddress &address) const =0
Get registry file path, if it is composed registry.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
Package with interfaces and class used for components concept.