BEntryOperationEngineBase::Entry: Add node_ref+path c'tor

This commit is contained in:
Ingo Weinhold
2014-06-15 17:21:00 +02:00
parent d44d8207a8
commit 9680cf0bce
2 changed files with 31 additions and 6 deletions
@@ -17,6 +17,7 @@ class BEntry;
class BPath;
struct entry_ref;
struct node_ref;
namespace BPrivate {
@@ -35,6 +36,8 @@ public:
const char* path = NULL);
Entry(const BEntry& entry);
Entry(const entry_ref& entryRef);
Entry(const node_ref& directoryRef,
const char* path = NULL);
~Entry();
status_t GetPath(BPath& buffer, const char*& _path)
@@ -46,6 +49,7 @@ private:
const char* fPath;
const BEntry* fEntry;
const entry_ref* fEntryRef;
const node_ref* fDirectoryRef;
};