ICF 3.1.1.10
Technical documentation of ICF Libraries
IPackagesManager.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// Qt includes
10#include <QtCore/QString>
11
12
13// ICF includes
14#include <istd/IChangeable.h>
16
17
18namespace icomp
19{
20
21
23{
24public:
26 {
27 CF_PACKAGES_CHANGED = 0x734638
28 };
29
49
54 virtual bool LoadPackages(const QString& configFilePath = QString()) = 0;
55
59 virtual int GetPackageType(const QByteArray& packageId) const = 0;
60
66 virtual QString GetPackagePath(const QByteArray& packageId) const = 0;
72 virtual QString GetRegistryPath(const CComponentAddress& address) const = 0;
73};
74
75
76} // namespace icomp
77
78
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:32
Package with interfaces and class used for components concept.

© Witold Gantzke and Kirill Lepskiy