mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
26 lines
487 B
C++
26 lines
487 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
|