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 13 PackageSymlink::PackageSymlink(Package* package, mode_t mode) 14 : 15 PackageLeafNode(package, mode), 16 fSymlinkPath() 17 { 18 } 19 20 21 PackageSymlink::~PackageSymlink() 22 { 23 } 24 25 26 void 27 PackageSymlink::SetSymlinkPath(const String& path) 28 { 29 fSymlinkPath = path; 30 } 31 32 33 String 34 PackageSymlink::SymlinkPath() const 35 { 36 return fSymlinkPath; 37 } 38