#pragma once #include "widgets/BaseWindow.hpp" namespace chatterino { class ChannelView; class Channel; using ChannelPtr = std::shared_ptr; struct Message; using MessagePtr = std::shared_ptr; class NotificationPopup : public BaseWindow { public: enum Location { TopLeft, TopRight, BottomLeft, BottomRight }; NotificationPopup(); void addMessage(MessagePtr msg); void updatePosition(); private: ChannelView *channelView_; ChannelPtr channel_; }; } // namespace chatterino