yolobs-studio/UI/window-dock-browser.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
431 B
C++
Raw Normal View History

2019-09-22 21:19:10 +00:00
#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;
};