CMonitoringSession.h
Go to the documentation of this file.
1 #ifndef ihotf_CMonitoringSession_included
2 #define ihotf_CMonitoringSession_included
3 
4 
5 // AcfSln includes
7 
8 
9 namespace ihotf
10 {
11 
12 
17 {
18 public:
19  // reimplemented (ihotf::IMonitoringSession)
20  virtual const FileItems& GetFileInfoList() const;
21  virtual void SetFileInfoList(const FileItems& fileList);
22  virtual void RemoveFile(const QString& filePath);
23 
24  // reimplemented (iser::ISerializable)
25  virtual bool Serialize(iser::IArchive& archive);
26 
27 private:
28  FileItems m_sessionFiles;
29 };
30 
31 
32 } // namespace ihotf
33 
34 
35 #endif // !ihotf_CMonitoringSession_included
36 
37 
Implementation of the ihotf::IMonitoringSession interface.
virtual const FileItems & GetFileInfoList() const
Get the list of file items.
QMap< QString, QDateTime > FileItems
Map absolute file path to modification time.
Common interface for a monitoring session for a directory.
virtual void SetFileInfoList(const FileItems &fileList)
Set the file list.
virtual bool Serialize(iser::IArchive &archive)
virtual void RemoveFile(const QString &filePath)
Remove file item from the session.

© 2007-2017 Witold Gantzke and Kirill Lepskiy