5 #include "common/common.hpp"
6 #include "block/component.hpp"
7 #include "util/uuid.hpp"
13 MapPackageDialog(Gtk::Window *parent,
const std::vector<std::pair<Component *, bool>> &components);
15 bool selection_valid =
false;
18 class ListColumns :
public Gtk::TreeModelColumnRecord {
22 Gtk::TreeModelColumnRecord::add(name);
23 Gtk::TreeModelColumnRecord::add(package);
24 Gtk::TreeModelColumnRecord::add(uuid);
26 Gtk::TreeModelColumn<Glib::ustring> name;
27 Gtk::TreeModelColumn<Glib::ustring> package;
28 Gtk::TreeModelColumn<UUID> uuid;
30 ListColumns list_columns;
33 Glib::RefPtr<Gtk::ListStore> store;
36 void row_activated(
const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *column);