mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
e6873d3278
Use the QAction provided by QDockWidget with new Qt connection rather than creating a new one for each dock. Separate extra browser docks from extra docks, the latter is meant for plugin/integration docks.
28 lines
472 B
C++
28 lines
472 B
C++
#pragma once
|
|
|
|
#include "auth-oauth.hpp"
|
|
|
|
class BrowserDock;
|
|
|
|
class RestreamAuth : public OAuthStreamKey {
|
|
Q_OBJECT
|
|
|
|
bool uiLoaded = false;
|
|
|
|
virtual bool RetryLogin() override;
|
|
|
|
virtual void SaveInternal() override;
|
|
virtual bool LoadInternal() override;
|
|
|
|
bool GetChannelInfo();
|
|
|
|
virtual void LoadUI() override;
|
|
|
|
public:
|
|
RestreamAuth(const Def &d);
|
|
~RestreamAuth();
|
|
|
|
static std::shared_ptr<Auth> Login(QWidget *parent,
|
|
const std::string &service_name);
|
|
};
|