forked from partouf/OBSInfoWriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
InfoWriterSettings.h
56 lines (49 loc) · 1.58 KB
/
InfoWriterSettings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#pragma once
#include <string>
class InfoWriterSettings {
protected:
std::string OutputFormat;
bool ShouldSyncNameAndPathWithVideo;
std::string AutomaticOutputExtension;
std::string Filename;
std::string Format;
std::string Hotkey1Text;
std::string Hotkey2Text;
std::string Hotkey3Text;
std::string Hotkey4Text;
std::string Hotkey5Text;
std::string Hotkey6Text;
std::string Hotkey7Text;
std::string Hotkey8Text;
std::string Hotkey9Text;
std::string Hotkey10Text;
std::string Hotkey11Text;
std::string Hotkey12Text;
std::string Hotkey13Text;
std::string Hotkey14Text;
bool ShouldLogSceneChanges;
bool ShouldLogStreaming;
bool ShouldLogAbsoluteTime;
bool ShouldLogHotkeySpecifics;
public:
std::string GetOutputFormat() const;
bool GetShouldSyncNameAndPathWithVideo() const;
std::string GetAutomaticOutputExtension() const;
std::string GetFilename() const;
std::string GetFormat() const;
std::string GetHotkeyText(const int hotkeynum) const;
bool GetShouldLogSceneChanges() const;
bool GetShouldLogStreaming() const;
bool GetShouldLogAbsoluteTime() const;
bool GetShouldLogHotkeySpecifics() const;
void SetOutputFormat(std::string formatname);
void SetShouldSyncNameAndPathWithVideo(bool sync);
void SetAutomaticOutputExtension(std::string extension);
void SetFilename(std::string filename);
void SetFormat(std::string format);
void SetHotkeyText(const int hotkeynum, std::string text);
void SetShouldLogSceneChanges(bool logchanges);
void SetShouldLogStreaming(bool logchanges);
void SetShouldLogAbsoluteTime(bool log);
void SetShouldLogHotkeySpecifics(bool log);
};