Implemented the new IsEmpty() method.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-01 01:05:27 +00:00
parent 774d1ff304
commit 1f0aeec0f0
2 changed files with 8 additions and 0 deletions

View File

@ -121,6 +121,13 @@ RootFileSystem::Rewind(void *_cookie)
}
bool
RootFileSystem::IsEmpty()
{
return list_is_empty(&fList);
}
status_t
RootFileSystem::AddNode(Node *node)
{

View File

@ -22,6 +22,7 @@ class RootFileSystem : public Directory {
virtual status_t GetNextEntry(void *cookie, char *nameBuffer, size_t bufferSize);
virtual status_t GetNextNode(void *cookie, Node **_node);
virtual status_t Rewind(void *cookie);
virtual bool IsEmpty();
virtual status_t AddNode(Node *node);