mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
30 lines
453 B
C++
30 lines
453 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
#include <util/config-file.h>
|
|
|
|
#include "plugin-macros.generated.h"
|
|
|
|
class Config {
|
|
public:
|
|
Config();
|
|
void Load();
|
|
void Save();
|
|
void SetDefaultsToGlobalStore();
|
|
config_t* GetConfigStore();
|
|
|
|
bool PortOverridden;
|
|
bool PasswordOverridden;
|
|
|
|
bool FirstLoad;
|
|
bool ServerEnabled;
|
|
uint16_t ServerPort;
|
|
bool DebugEnabled;
|
|
bool AlertsEnabled;
|
|
bool AuthRequired;
|
|
QString ServerPassword;
|
|
|
|
private:
|
|
|
|
};
|