1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef PACKAGE_SYMLINK_H 6 #define PACKAGE_SYMLINK_H 7 8 9 #include "PackageLeafNode.h" 10 11 12 class PackageSymlink final : public PackageLeafNode { 13 public: 14 static void* operator new(size_t size); 15 static void operator delete(void* block); 16 17 PackageSymlink(Package* package, mode_t mode); 18 virtual ~PackageSymlink(); 19 20 void SetSymlinkPath(const String& path); 21 22 virtual String SymlinkPath() const; 23 24 private: 25 String fSymlinkPath; 26 }; 27 28 29 #endif // PACKAGE_SYMLINK_H 30