mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-29 00:27:52 +01:00
25 lines
492 B
C++
25 lines
492 B
C++
//
|
|
// Created by Stepan Usatiuk on 24.02.2024.
|
|
//
|
|
|
|
#ifndef OS2_VFSGLOBALS_HPP
|
|
#define OS2_VFSGLOBALS_HPP
|
|
|
|
#include "MountTable.hpp"
|
|
#include "Node.hpp"
|
|
|
|
class RootNode : public NodeDir {
|
|
public:
|
|
Vector<Node *> children() override;
|
|
NodeDir *mkdir(const String &name) override;
|
|
NodeFile *mkfile(const String &name) override;
|
|
};
|
|
|
|
namespace VFSGlobals {
|
|
extern RootNode root;
|
|
extern MountTable mounts;
|
|
}; // namespace VFSGlobals
|
|
|
|
|
|
#endif //OS2_VFSGLOBALS_HPP
|