Horizon
pool_chooser.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include "util/uuid.hpp"
4 
5 namespace horizon {
6 class PoolChooserDialog : public Gtk::Dialog {
7 public:
8  PoolChooserDialog(Gtk::Window *parent, const std::string &msg = "");
9  void select_pool(const UUID &uu);
10  UUID get_selected_pool();
11 
12 private:
13  Gtk::ListBox *lb = nullptr;
14 };
15 } // namespace horizon
horizon::PoolChooserDialog
Definition: pool_chooser.hpp:6
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16