#pragma once #include #include class Process; 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(Process&); void removeProcess(Process&); private: ProcFileSystem(); HashMap m_pid2inode; };