Horizon
manage_buses.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/block.hpp"
8 namespace horizon {
9 
10 
11 class ManageBusesDialog : public Gtk::Dialog {
12 public:
13  ManageBusesDialog(Gtk::Window *parent, Block *b);
14  bool valid = false;
15 
16 
17 private:
18  Block *block = nullptr;
19  Gtk::Stack *stack;
20  Gtk::ToolButton *delete_button;
21  void add_bus();
22  void remove_bus();
23  void update_bus_removable();
24 
25 
26  void ok_clicked();
27 };
28 } // namespace horizon
horizon::Block
A block is one level of hierarchy in the netlist.
Definition: block.hpp:26
horizon::ManageBusesDialog
Definition: manage_buses.hpp:11