Initial wasm simulator checkpoint
This commit is contained in:
20
core/src/gcode_backend.h
Normal file
20
core/src/gcode_backend.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "canon_event_sink.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
enum class GcodeBackendKind {
|
||||
Smoke,
|
||||
LinuxCncRs274,
|
||||
};
|
||||
|
||||
const char *gcode_backend_name(GcodeBackendKind backend);
|
||||
|
||||
int parse_gcode_with_backend(GcodeBackendKind backend,
|
||||
CanonEventSink &sink,
|
||||
const char *program,
|
||||
size_t program_len,
|
||||
std::string *error);
|
||||
|
||||
Reference in New Issue
Block a user