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