3 #include "util/uuid.hpp"
4 #include "duplicate_base.hpp"
7 class DuplicateUnitWidget :
public Gtk::Box,
public DuplicateBase {
9 DuplicateUnitWidget(
class Pool &p,
const UUID &unit_uuid,
bool optional =
false);
10 UUID duplicate(std::vector<std::string> *filenames)
override;
11 UUID get_uuid()
const;
13 static std::string insert_filename(
const std::string &fn,
const std::string &ins);
17 const class Unit &unit;
18 Gtk::Entry *name_entry =
nullptr;
19 class LocationEntry *location_entry =
nullptr;
20 Gtk::Grid *grid =
nullptr;