xref: /haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/FSObject.h (revision 88e38c178a96634d52920e2de8bb3cbd49869f93)
1 // FSObject.h
2 
3 #ifndef NET_FS_FS_OBJECT_H
4 #define NET_FS_FS_OBJECT_H
5 
6 #include <Referenceable.h>
7 
8 class FSObject : public BReferenceable {
9 public:
10 								FSObject();
11 	virtual						~FSObject();
12 
13 			void				MarkRemoved();
14 			bool				IsRemoved() const;
15 
16 protected:
17 	virtual	void				LastReferenceReleased();
18 
19 private:
20 			bool				fRemoved;
21 };
22 
23 #endif	// NET_FS_FS_OBJECT_H
24