Added BEntry::Name() method.

* GetName() is a bad API, and should be deprecated.
This commit is contained in:
Axel Dörfler
2012-11-12 23:56:23 +01:00
parent a2f6e5ac9c
commit b20073726a
2 changed files with 20 additions and 13 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2010, Haiku, Inc. All Rights Reserved.
* Copyright 2002-2012, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ENTRY_H
@@ -50,6 +50,8 @@ public:
status_t InitCheck() const;
bool Exists() const;
const char* Name() const;
virtual status_t GetStat(struct stat* stat) const;
status_t SetTo(const BDirectory* dir, const char* path,