CVisualHotfolderWorkflowComp.h
Go to the documentation of this file.
1 #ifndef ihotf_CVisualHotfolderWorkflowComp_included
2 #define ihotf_CVisualHotfolderWorkflowComp_included
3 
4 
5 // ACF includes
7 
8 #include "iser/IObject.h"
9 
10 #include "imod/TModelWrap.h"
11 
12 #include "ilog/TLoggerCompWrap.h"
13 
14 
15 // AcfSln includes
18 
19 
20 namespace ihotf
21 {
22 
23 
28  public ilog::TLoggerCompWrap<ihotf::CHotfolderWorkflowComp>
29 {
30 public:
32 
33  I_BEGIN_COMPONENT(CVisualHotfolderWorkflowComp);
34  I_END_COMPONENT;
35 
37  {
38  CF_SELECTION = 0x10000000
39  };
40 
41  enum MessageId
42  {
44  };
45 
46  virtual bool SerializeLayout(iser::IArchive& archive);
47  virtual bool SerializeWorkflow(iser::IArchive& archive);
48 
49  // reimplemented (iser::ISerializable)
50  virtual bool Serialize(iser::IArchive& archive);
51 
52 protected:
54 
55  bool SerializeItemPosition(iser::IArchive& archive, QString& hotfolderName, i2d::CVector2d& position);
56 
57  // reimplemented (ihotf::CHotfolderWorkflowComp)
58  virtual ihotf::IHotfolderWorkflowItem* CreateWorkflowItem(const QString& hotfolderId) const;
59 };
60 
61 
62 } // namespace ihotf
63 
64 
65 #endif // !ihotf_CVisualHotfolderWorkflowComp_included
66 
bool SerializeItemPosition(iser::IArchive &archive, QString &hotfolderName, i2d::CVector2d &position)
virtual ihotf::IHotfolderWorkflowItem * CreateWorkflowItem(const QString &hotfolderId) const
Interface for getting some informations about properties of a given hotfolder.
virtual bool Serialize(iser::IArchive &archive)
virtual bool SerializeWorkflow(iser::IArchive &archive)
imod::TModelWrap< istd::TChangeDelegator< CVisualHotfolderWorkflowItem > > Element
virtual bool SerializeLayout(iser::IArchive &archive)
ilog::TLoggerCompWrap< ihotf::CHotfolderWorkflowComp > BaseClass

© 2007-2011 Witold Gantzke and Kirill Lepskiy