mirror-chatterino2/src/widgets/streamview.hpp
2018-04-14 21:59:51 +02:00

29 lines
412 B
C++

#pragma once
#include <QUrl>
#include <QWidget>
#include <memory>
class QWebEngineView;
namespace chatterino {
class Channel;
namespace widgets {
class StreamView : public QWidget
{
public:
StreamView(std::shared_ptr<Channel> channel, const QUrl &url);
private:
#ifdef USEWEBENGINE
QWebEngineView *stream;
#endif
};
} // namespace widgets
} // namespace chatterino