CComposedFileMetaInfoProviderComp.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
8 
9 namespace ifile
10 {
11 
12 
17  public icomp::CComponentBase,
18  virtual public ifile::IFileMetaInfoProvider
19 {
20 public:
22 
23  I_BEGIN_COMPONENT(CComposedFileMetaInfoProviderComp);
24  I_REGISTER_INTERFACE(ifile::IFileMetaInfoProvider);
25  I_ASSIGN_MULTI_0(m_slaveInfoProvidersCompPtr, "SlaveInfoProviders", "List of slave meta info providers", true);
26  I_END_COMPONENT;
27 
28  // reimplemented (ifile::IFileMetaInfoProvider)
29  virtual MetaInfoPtr GetFileMetaInfo(const QString& filePath, ibase::IProgressManager* progressManagerPtr = NULL) const;
30 
31 private:
32  I_MULTIREF(ifile::IFileMetaInfoProvider, m_slaveInfoProvidersCompPtr);
33 };
34 
35 
36 } // namespace ifile
37 
38 
Base class for component implementation.
virtual MetaInfoPtr GetFileMetaInfo(const QString &filePath, ibase::IProgressManager *progressManagerPtr=NULL) const
Create meta information of an existing file.
Implementation of a smart pointer.
Definition: TSmartPtr.h:24
#define NULL
Definition: istd.h:64
Interface for acquiring meta-information of a file.
Consume information about progress of some process.

© 2007-2017 Witold Gantzke and Kirill Lepskiy