#pragma once #include #include class Task; class ProcFileSystem final : public SyntheticFileSystem { public: static ProcFileSystem& the() PURE; virtual ~ProcFileSystem() override; static RetainPtr create(); virtual bool initialize() override; virtual const char* className() const override; void addProcess(Task&); void removeProcess(Task&); private: ProcFileSystem(); HashMap m_pid2inode; };