1 #pragma once 2 #include "common/common.hpp" 3 #include "canvas/selectables.hpp" 4 #include <set> 5 6 namespace horizon { 7 size_t sel_count_type(const std::set<SelectableRef> &sel, ObjectType type); 8 const SelectableRef &sel_find_one(const std::set<SelectableRef> &sel, ObjectType type); 9 const SelectableRef *sel_find_exactly_one(const std::set<SelectableRef> &sel, ObjectType type); 10 void sel_erase_type(std::set<SelectableRef> &sel, ObjectType type); 11 } // namespace horizon 12