mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
26 lines
485 B
C++
26 lines
485 B
C++
#pragma once
|
|
|
|
#include "common/Channel.hpp"
|
|
#include "messages/Message.hpp"
|
|
#include "widgets/BaseWindow.hpp"
|
|
|
|
namespace chatterino {
|
|
|
|
class ChannelView;
|
|
|
|
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
|