mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
26 lines
364 B
C++
26 lines
364 B
C++
#pragma once
|
|
|
|
#include <QUrl>
|
|
#include <QWidget>
|
|
|
|
#include <memory>
|
|
|
|
class QWebEngineView;
|
|
|
|
namespace chatterino {
|
|
|
|
class Channel;
|
|
|
|
class StreamView : public QWidget
|
|
{
|
|
public:
|
|
StreamView(std::shared_ptr<Channel> channel, const QUrl &url);
|
|
|
|
private:
|
|
#ifdef USEWEBENGINE
|
|
QWebEngineView *stream;
|
|
#endif
|
|
};
|
|
|
|
} // namespace chatterino
|