#include #include class GDirectoryModel; class GFilePicker final : public GDialog { public: GFilePicker(const String& path = "/", CObject* parent = nullptr); virtual ~GFilePicker() override; String selected_file() const; virtual const char* class_name() const override { return "GFilePicker"; } private: GTableView* m_view { nullptr }; Retained m_model; String m_selected_file; };