MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / start

Method start

source/util/recorder.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23Recorder* Recorder::instance;
24
25void Recorder::start(BString directory) {
26 Recorder::instance = new Recorder();
27 instance->directory = directory;
28 Fs::makeNativeDirs(directory);
29 instance->file.createNew(BString(directory+"/"+RECORDER_SCRIPT));
30 instance->screenShotCount = 0;
31 instance->out("VERSION=2\r\n");
32}
33
34void Recorder::out(const char* s) {
35 file.write(s);

Callers

nothing calls this directly

Calls 3

BStringClass · 0.85
createNewMethod · 0.80
outMethod · 0.45

Tested by

no test coverage detected