Files
obs-studio/frontend/oauth/RestreamAuth.hpp
2025-01-08 15:36:55 +01:00

25 lines
439 B
C++

#pragma once
#include "OAuth.hpp"
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);
};