xref: /haiku/src/add-ons/kernel/file_systems/packagefs/nodes/OldUnpackingNodeAttributes.h (revision 71452e98334eaac603bf542d159e24788a46bebb)
1 /*
2  * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef OLD_UNPACKING_NODE_ATTRIBUTES_H
6 #define OLD_UNPACKING_NODE_ATTRIBUTES_H
7 
8 
9 #include "NodeListener.h"
10 
11 
12 class PackageNode;
13 
14 
15 class OldUnpackingNodeAttributes : public OldNodeAttributes {
16 public:
17 								OldUnpackingNodeAttributes(
18 									PackageNode* packageNode);
19 
20 	virtual	timespec			ModifiedTime() const;
21 	virtual	off_t				FileSize() const;
22 	virtual	void*				IndexCookieForAttribute(const StringKey& name)
23 									const;
24 
25 private:
26 			PackageNode*		fPackageNode;
27 };
28 
29 
30 #endif	// OLD_UNPACKING_NODE_ATTRIBUTES_H
31