diff --git a/include/plugins/converters.h b/include/plugins/converters.h index ad4b1f8bca..12401a237b 100644 --- a/include/plugins/converters.h +++ b/include/plugins/converters.h @@ -8,8 +8,8 @@ #include "WallToolPaths.h" #include "cura/plugins/slots/broadcast/v0/broadcast.grpc.pb.h" #include "cura/plugins/slots/broadcast/v0/broadcast.pb.h" -#include "cura/plugins/slots/dialect/v0/modify.grpc.pb.h" -#include "cura/plugins/slots/dialect/v0/modify.pb.h" +#include "cura/plugins/slots/dialect/v0/generate.grpc.pb.h" +#include "cura/plugins/slots/dialect/v0/generate.pb.h" #include "cura/plugins/slots/gcode_paths/v0/modify.grpc.pb.h" #include "cura/plugins/slots/gcode_paths/v0/modify.pb.h" #include "cura/plugins/slots/handshake/v0/handshake.grpc.pb.h" @@ -102,12 +102,12 @@ struct postprocess_response : public details::converter +struct dialect_generate_request : public details::converter { value_type operator()(const native_value_type& gcode) const; }; -struct dialect_generate_response : public details::converter +struct dialect_generate_response : public details::converter { native_value_type operator()([[maybe_unused]] const value_type& message) const; }; diff --git a/include/plugins/slots.h b/include/plugins/slots.h index 32a5db2794..3383fc118e 100644 --- a/include/plugins/slots.h +++ b/include/plugins/slots.h @@ -10,6 +10,7 @@ #include "cura/plugins/slots/infill/v0/generate.grpc.pb.h" #include "cura/plugins/slots/postprocess/v0/modify.grpc.pb.h" #include "cura/plugins/slots/simplify/v0/modify.grpc.pb.h" +#include "cura/plugins/slots/dialect/v0/generate.grpc.pb.h" #include "cura/plugins/v0/slot_id.pb.h" #include "infill.h" #include "plugins/converters.h" @@ -124,7 +125,7 @@ template using slot_dialect_generate_ = SlotProxy< v0::SlotID::DIALECT_GENERATE, "0.1.0-alpha", - slots::dialect::v0::modify::DialectModifyService::Stub, + slots::dialect::v0::generate::DialectGenerateService::Stub, Validator, dialect_generate_request, dialect_generate_response,