Horizon
select_net.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 "block/net.hpp"
8 #include "widgets/net_selector.hpp"
9 namespace horizon {
10 
11 
12 class SelectNetDialog : public Gtk::Dialog {
13 public:
14  SelectNetDialog(Gtk::Window *parent, Block *b, const std::string &ti);
15  bool valid = false;
16  UUID net;
17  NetSelector *net_selector;
18 
19 private:
20  void ok_clicked();
21  void net_selected(const UUID &uu);
22 };
23 } // namespace horizon
horizon::NetSelector
Definition: net_selector.hpp:6
horizon::SelectNetDialog
Definition: select_net.hpp:12
horizon::Block
A block is one level of hierarchy in the netlist.
Definition: block.hpp:26
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16