Horizon
create_part_dialog.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include "util/uuid.hpp"
4 
5 namespace horizon {
6 
7 class CreatePartDialog : public Gtk::Dialog {
8 public:
9  CreatePartDialog(Gtk::Window *parent, class IPool &ipool, const UUID &entity_uuid, const UUID &package_uuid);
10  UUID get_entity();
11  UUID get_package();
12 
13 private:
14  class IPool &pool;
15  class PoolBrowserEntity *browser_entity = nullptr;
16  class PoolBrowserPackage *browser_package = nullptr;
17  Gtk::Button *button_ok;
18  void check_select();
19  void check_activate();
20 };
21 } // namespace horizon
Definition: create_part_dialog.hpp:7
Definition: ipool.hpp:12
Definition: pool_browser_entity.hpp:5
Definition: pool_browser_package.hpp:5
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16