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