CPackagesLoaderExtComp.h
Go to the documentation of this file.
1 #ifndef icmpstr_CPackagesLoaderExtComp_included
2 #define icmpstr_CPackagesLoaderExtComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QMap>
7 #include <QtCore/QDir>
8 
9 // ACF includes
12 
13 
14 namespace icmpstr
15 {
16 
17 
20  virtual public IExternalMetaInfoManager
21 {
22 public:
24 
25  I_BEGIN_COMPONENT(CPackagesLoaderComp);
26  I_REGISTER_INTERFACE(IExternalMetaInfoManager);
27  I_END_COMPONENT;
28 
29  // reimplemented (iqt::CPackagesLoaderComp)
30  virtual bool RegisterPackagesDir(const QString& subDir);
31 
32  // reimplemented (icmpstr::IExternalMetaInfoManager)
33  virtual QString GetPackageInfoPath(const QByteArray& packageId) const;
34  virtual QString GetComponentInfoPath(const icomp::CComponentAddress& address) const;
35 
36 private:
37  typedef QMap<QByteArray, QDir> PackageInfosMap;
38  PackageInfosMap m_packageInfosMap;
39 };
40 
41 
42 } // namespace icmpstr
43 
44 
45 #endif // !icmpstr_CPackagesLoaderExtComp_included
46 
47 
virtual QString GetComponentInfoPath(const icomp::CComponentAddress &address) const
Get path of component info directory.
virtual QString GetPackageInfoPath(const QByteArray &packageId) const
Get path of package info directory.
ipackage::CPackagesLoaderComp BaseClass
virtual bool RegisterPackagesDir(const QString &subDir)

© 2007-2011 Witold Gantzke and Kirill Lepskiy