1/* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7#include "PackageSymlink.h" 8 9#include <stdlib.h> 10#include <string.h> 11 12 13PackageSymlink::PackageSymlink(Package* package, mode_t mode) 14 : 15 PackageLeafNode(package, mode), 16 fSymlinkPath() 17{ 18} 19 20 21PackageSymlink::~PackageSymlink() 22{ 23} 24 25 26void 27PackageSymlink::SetSymlinkPath(const String& path) 28{ 29 fSymlinkPath = path; 30} 31 32 33String 34PackageSymlink::SymlinkPath() const 35{ 36 return fSymlinkPath; 37} 38