Add option to resolve variable values in ToString()

This commit is contained in:
WarmUpTill
2022-12-27 14:40:44 +01:00
committed by WarmUpTill
parent cd74534e4c
commit 7ae490ca25
6 changed files with 21 additions and 7 deletions

View File

@@ -5,7 +5,6 @@
#include <QComboBox>
class SourceSelection {
public:
void Save(obs_data_t *obj, const char *name = "source") const;
@@ -19,7 +18,7 @@ public:
Type GetType() const { return _type; }
OBSWeakSource GetSource() const;
void SetSource(OBSWeakSource);
std::string ToString() const;
std::string ToString(bool resolve = false) const;
private:
// TODO: Remove in future version