BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / file_systems / ramfs / SymLink.h
blobd8565f8d234ef0d5440d88a05d12f5609fa7c14a
1 // SymLink.h
3 #ifndef SYMLINK_H
4 #define SYMLINK_H
6 #include "Node.h"
7 #include "String.h"
9 class SymLink : public Node {
10 public:
11 SymLink(Volume *volume);
12 virtual ~SymLink();
14 virtual status_t SetSize(off_t newSize);
15 virtual off_t GetSize() const;
17 status_t SetLinkedPath(const char *path);
18 const char *GetLinkedPath() const { return fLinkedPath.GetString(); }
19 size_t GetLinkedPathLength() const { return fLinkedPath.GetLength(); }
21 // debugging
22 virtual void GetAllocationInfo(AllocationInfo &info);
24 private:
25 String fLinkedPath;
28 #endif // SYMLINK_H