Skip to content

Commit

Permalink
Use renamed dialect generate slot
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo committed Sep 26, 2023
1 parent ec5f3f9 commit ab03262
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/plugins/converters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -102,12 +102,12 @@ struct postprocess_response : public details::converter<postprocess_response, sl
native_value_type operator()([[maybe_unused]] const native_value_type& original_value, const value_type& message) const;
};

struct dialect_generate_request : public details::converter<dialect_generate_request, slots::dialect::v0::modify::CallRequest, std::string>
struct dialect_generate_request : public details::converter<dialect_generate_request, slots::dialect::v0::generate::CallRequest, std::string>
{
value_type operator()(const native_value_type& gcode) const;
};

struct dialect_generate_response : public details::converter<dialect_generate_response, slots::dialect::v0::modify::CallResponse, std::string>
struct dialect_generate_response : public details::converter<dialect_generate_response, slots::dialect::v0::generate::CallResponse, std::string>
{
native_value_type operator()([[maybe_unused]] const value_type& message) const;
};
Expand Down
3 changes: 2 additions & 1 deletion include/plugins/slots.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -124,7 +125,7 @@ template<class Default = default_process>
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,
Expand Down

0 comments on commit ab03262

Please sign in to comment.