Horizon
preview_base.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include <set>
4 #include "util/uuid.hpp"
5 #include "common/common.hpp"
6 #include "util/pool_goto_provider.hpp"
7 
8 namespace horizon {
9 class PreviewBase : public PoolGotoProvider {
10 protected:
11  Gtk::Button *create_goto_button(ObjectType type, std::function<UUID(void)> fn);
12  std::set<Gtk::Button *> goto_buttons;
13 };
14 } // namespace horizon
Definition: pool_goto_provider.hpp:7
Definition: preview_base.hpp:9
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16