IPackagesManager.h
Go to the documentation of this file.
1 #ifndef icomp_IPackagesManager_included
2 #define icomp_IPackagesManager_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 
9 // ACF includes
10 #include <istd/IChangeable.h>
12 
13 
14 namespace icomp
15 {
16 
17 
18 class IPackagesManager: virtual public istd::IChangeable
19 {
20 public:
22  {
39  };
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 #endif // !icomp_IPackagesManager_included
71 
72 
Represents global address of component.
Composed packages are stored in folders containing registry files (acc files).
virtual QString GetPackagePath(const QByteArray &packageId) const =0
Get directory path of specified component package.
Real packages are stored as dynamic linked libraries in arp files.
Common interface for data model objects, which can be changed.
Definition: IChangeable.h:24
Type of this package cannot be found out.
virtual QString GetRegistryPath(const CComponentAddress &address) const =0
Get registry file path, if it is composed registry.
virtual int GetPackageType(const QByteArray &packageId) const =0
Get type of package as defined in PackageType.
virtual bool LoadPackages(const QString &configFilePath=QString())=0
Configure environment for specified file path.

© 2007-2017 Witold Gantzke and Kirill Lepskiy