BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / file_systems / bindfs / Node.h
blob8c146a8144f9a62f53d9baf2fc5f26321a1276aa
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
9 #include <fs_interface.h>
12 class Node {
13 public:
14 Node(ino_t sourceID, mode_t mode);
15 ~Node();
17 ino_t ID() const { return fSourceID; }
18 // currently, we reuse the source-ID
20 ino_t SourceID() const { return fSourceID; }
21 mode_t Mode() const { return fMode; }
23 protected:
24 ino_t fSourceID;
25 mode_t fMode;
29 #endif // NODE_H