-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathmain.cpp
More file actions
38 lines (25 loc) · 680 Bytes
/
main.cpp
File metadata and controls
38 lines (25 loc) · 680 Bytes
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
// Stuff to test without having to plug in
#include "InfoWriter.h"
#include <climits>
int main()
{
InfoWriter Writer;
auto Settings = Writer.GetSettings();
Settings->SetFilename("./log %Y-%m-%d %H%M%S.txt");
Settings->SetOutputFormat("edl");
Settings->SetFormat("\\t%d:%02d:%02d");
Settings->SetHotkeyText(1, "ONE");
Settings->SetHotkeyText(2, "TWO");
Settings->SetShouldLogHotkeySpecifics(true);
Settings->SetShouldLogStreaming(true);
Writer.MarkStart(imtStream);
GFMillisleep(1000);
Writer.WriteInfo(1);
GFMillisleep(3000);
Writer.WriteInfo(1);
GFMillisleep(1000);
Writer.MarkStop(imtStream);
GFMillisleep(1000);
Writer.WriteInfo(2);
return 0;
}