haiku/headers/private/debugger/files/LocatableDirectory.h
Rene Gollent fce4895d18 Debugger: Split into core library and application.
- Add subfolder src/kits/debugger which contains the debugger's core
  functionality and lower layers. Correspondingly add headers/private/debugger
  for shared headers to be used by clients such as the Debugger application
  and eventual remote_debug_server. Adjust various files to account for
  differences as a result of the split and moves.
- Add libdebugger.so to minimal Jamfile.
2016-06-04 13:18:39 -04:00

39 lines
982 B
C++

/*
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#ifndef LOCATABLE_DIRECTORY_H
#define LOCATABLE_DIRECTORY_H
#include "LocatableEntry.h"
class LocatableDirectory : public LocatableEntry {
public:
LocatableDirectory(LocatableEntryOwner* owner,
LocatableDirectory* parent,
const BString& path);
~LocatableDirectory();
virtual const char* Name() const;
const char* Path() const;
void GetPath(BString& _path) const;
// mutable (requires locking)
virtual bool GetLocatedPath(BString& _path) const;
virtual void SetLocatedPath(const BString& path,
bool implicit);
void AddEntry(LocatableEntry* entry);
void RemoveEntry(LocatableEntry* entry);
const LocatableEntryList& Entries() const { return fEntries; }
private:
BString fPath;
BString fLocatedPath;
LocatableEntryList fEntries;
};
#endif // LOCATABLE_DIRECTORY_H