xref: /haiku/src/add-ons/kernel/file_systems/netfs/shared/FSObject.cpp (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 // FSObject.cpp
2 
3 #include "FSObject.h"
4 
5 // constructor
6 FSObject::FSObject()
7 	:
8 	BReferenceable(),
9 	fRemoved(false)
10 {
11 }
12 
13 // destructor
14 FSObject::~FSObject()
15 {
16 }
17 
18 // MarkRemoved
19 void
20 FSObject::MarkRemoved()
21 {
22 	fRemoved = true;
23 }
24 
25 // IsRemoved
26 bool
27 FSObject::IsRemoved() const
28 {
29 	return fRemoved;
30 }
31 
32 
33 void
34 FSObject::LastReferenceReleased()
35 {
36 	// don't delete
37 }
38