2 #include "core/tool.hpp"
3 #include "tool_place_junction.hpp"
4 #include <forward_list>
8 class ToolPlaceVia :
public ToolPlaceJunction {
10 ToolPlaceVia(IDocument *c, ToolID tid);
12 std::set<InToolActionID> get_actions()
const override
14 using I = InToolActionID;
24 void create_attached()
override;
25 void delete_attached()
override;
26 bool begin_attached()
override;
27 bool update_attached(
const ToolArgs &args)
override;
28 class Via *via =
nullptr;
29 class Net *net =
nullptr;
31 std::forward_list<class Via *> vias_placed;
34 const class BoardRules *rules =
nullptr;