IDirectoryMonitorParams.h
Go to the documentation of this file.
1 #ifndef ihotf_IDirectoryMonitorParams_included
2 #define ihotf_IDirectoryMonitorParams_included
3 
4 
5 // ACF includes
6 #include "iser/ISerializable.h"
7 
8 
9 namespace ihotf
10 {
11 
12 
17 {
18 public:
20  {
21  OI_DIR = 0x1,
22  OI_FILES = 0x2,
23  OI_DRIVES = 0x4,
25  };
26 
28  {
29  OC_ADD = 0x1,
30  OC_REMOVE = 0x2,
31  OC_MODIFIED = 0x4,
34  };
35 
39  virtual double GetPoolingIntervall() const = 0;
40 
44  virtual void SetPoolingIntervall(double poolingIntervall) = 0;
45 
49  virtual int GetObservedItemTypes() const = 0;
50 
54  virtual void SetObservedItemTypes(int observedItemTypes) = 0;
55 
59  virtual int GetObservedChanges() const = 0;
60 
64  virtual void SetObservedChanges(int ovservedChanges) = 0;
65 
69  virtual QStringList GetAcceptPatterns() const = 0;
70 
74  virtual void SetAcceptPatterns(const QStringList& acceptPatterns) = 0;
75 
79  virtual QStringList GetIgnorePatterns() const = 0;
80 
84  virtual void SetIgnorePatterns(const QStringList& acceptPatterns) = 0;
85 };
86 
87 
88 } // namespace ihotf
89 
90 
91 #endif // !ihotf_IDirectoryMonitorParams_included
92 
93 
Interface for a folder monitor parameters.
virtual void SetAcceptPatterns(const QStringList &acceptPatterns)=0
Set the accept file filters.
virtual double GetPoolingIntervall() const =0
Get pooling intervall for directory changes in seconds.
virtual void SetPoolingIntervall(double poolingIntervall)=0
Set pooling intervall for directory changes in seconds.
virtual void SetObservedItemTypes(int observedItemTypes)=0
Set the group of items to be observed.
virtual QStringList GetAcceptPatterns() const =0
Get accept file filters, given as the list of regular expressions.
virtual int GetObservedItemTypes() const =0
Get the group of items to be observed.
virtual void SetIgnorePatterns(const QStringList &acceptPatterns)=0
Set the ignore file filters.
virtual int GetObservedChanges() const =0
Get the group of changes to be observed.
virtual QStringList GetIgnorePatterns() const =0
Get ignore file filters, given as the list of regular expressions.
virtual void SetObservedChanges(int ovservedChanges)=0
Set the changes to be observed.

© 2007-2011 Witold Gantzke and Kirill Lepskiy