yolobs-studio/UI/window-dock-browser.hpp
2019-09-22 23:19:10 +02:00

23 lines
431 B
C++

#pragma once
#include "window-dock.hpp"
#include <QScopedPointer>
#include <browser-panel.hpp>
extern QCef *cef;
extern QCefCookieManager *panel_cookies;
class BrowserDock : public OBSDock {
public:
inline BrowserDock() : OBSDock() {}
QScopedPointer<QCefWidget> cefWidget;
inline void SetWidget(QCefWidget *widget_)
{
setWidget(widget_);
cefWidget.reset(widget_);
}
void closeEvent(QCloseEvent *event) override;
};