obs-studio/UI/auth-restream.hpp

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

28 lines
472 B
C++
Raw Normal View History

#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);
};