1/*
2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef NODE_H
6#define NODE_H
7
8
9#include <fs_interface.h>
10
11
12class Node {
13public:
14								Node(ino_t sourceID, mode_t mode);
15								~Node();
16
17			ino_t				ID() const			{ return fSourceID; }
18									// currently, we reuse the source-ID
19
20			ino_t				SourceID() const	{ return fSourceID; }
21			mode_t				Mode() const		{ return fMode; }
22
23protected:
24			ino_t				fSourceID;
25			mode_t				fMode;
26};
27
28
29#endif	// NODE_H
30