21 lines
462 B
C++
21 lines
462 B
C++
#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);
|
|
|