mirror-chatterino2/src/widgets/streamview.hpp

27 lines
383 B
C++
Raw Normal View History

2018-01-19 14:48:17 +01:00
#pragma once
#include <QUrl>
#include <QWidget>
2018-01-19 14:48:17 +01:00
#include <memory>
class QWebEngineView;
namespace chatterino {
2018-01-19 14:48:17 +01:00
class Channel;
namespace widgets {
2018-01-19 14:48:17 +01:00
class StreamView : public QWidget
{
public:
2018-04-07 12:53:10 +02:00
StreamView(std::shared_ptr<Channel> channel, const QUrl &url);
2018-01-19 14:48:17 +01:00
private:
QWebEngineView *stream;
};
2018-01-19 14:48:17 +01:00
} // namespace widgets
} // namespace chatterino