2018-05-23 22:27:29 +02:00
|
|
|
#pragma once
|
|
|
|
|
2018-06-26 15:33:51 +02:00
|
|
|
#include "common/Channel.hpp"
|
2018-06-26 14:09:39 +02:00
|
|
|
#include "messages/Message.hpp"
|
|
|
|
#include "widgets/BaseWindow.hpp"
|
2018-05-23 22:27:29 +02:00
|
|
|
|
|
|
|
namespace chatterino {
|
|
|
|
|
|
|
|
class ChannelView;
|
|
|
|
|
|
|
|
class NotificationPopup : public BaseWindow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum Location { TopLeft, TopRight, BottomLeft, BottomRight };
|
|
|
|
NotificationPopup();
|
|
|
|
|
2018-06-28 19:38:57 +02:00
|
|
|
void addMessage(MessagePtr msg);
|
2018-05-23 22:27:29 +02:00
|
|
|
void updatePosition();
|
|
|
|
|
|
|
|
private:
|
|
|
|
ChannelView *channelView;
|
|
|
|
ChannelPtr channel;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace chatterino
|