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:
parent
774d1ff304
commit
1f0aeec0f0
@ -121,6 +121,13 @@ RootFileSystem::Rewind(void *_cookie)
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
RootFileSystem::IsEmpty()
|
||||
{
|
||||
return list_is_empty(&fList);
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
RootFileSystem::AddNode(Node *node)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user