/* * Copyright (c) 2021, Gunnar Beutner * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include class Profile; class ProcessPickerWidget final : public GUI::Frame { C_OBJECT(ProcessPickerWidget) public: virtual ~ProcessPickerWidget() override; struct Process { pid_t pid; String name; }; private: explicit ProcessPickerWidget(Profile&); Profile& m_profile; Vector m_processes; RefPtr m_process_combo; };