xref: /haiku/src/add-ons/kernel/file_systems/netfs/server/QueryDomain.h (revision c90684742e7361651849be4116d0e5de3a817194)
1 // QueryDomain.h
2 
3 #ifndef NET_FS_QUERY_DOMAIN_H
4 #define NET_FS_QUERY_DOMAIN_H
5 
6 #include <HashMap.h>
7 
8 #include "Locker.h"
9 #include "NodeHandle.h"
10 
11 class NodeMonitoringEvent;
12 class Volume;
13 
14 
15 // QueryDomain
16 class QueryDomain {
17 public:
18 	virtual						~QueryDomain();
19 
20 	virtual	bool				QueryDomainIntersectsWith(Volume* volume) = 0;
21 
22 	virtual	void				ProcessQueryEvent(
23 									NodeMonitoringEvent* event) = 0;
24 };
25 
26 
27 #endif	// NET_FS_QUERY_DOMAIN_H
28