xref: /haiku/src/add-ons/kernel/file_systems/packagefs/package/PackageSymlink.h (revision 1e7416d9b3846396e2f7d6552e37d72664cd6853)
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 : public PackageLeafNode {
13 public:
14 								PackageSymlink(Package* package, mode_t mode);
15 	virtual						~PackageSymlink();
16 
17 			status_t			SetSymlinkPath(const char* path);
18 
19 	virtual	const char*			SymlinkPath() const;
20 
21 private:
22 				char*			fSymlinkPath;
23 };
24 
25 
26 #endif	// PACKAGE_SYMLINK_H
27