#pragma once #include #include "WindowIdentifier.h" class TaskbarButton final : public GButton { public: TaskbarButton(const WindowIdentifier&, GWidget* parent); virtual ~TaskbarButton() override; private: virtual void context_menu_event(GContextMenuEvent&) override; GMenu& ensure_menu(); WindowIdentifier m_identifier; OwnPtr m_menu; };