Horizon
editor_interface.hpp
1 #pragma once
2 #include "util/pool_goto_provider.hpp"
3 
4 namespace horizon {
6 public:
7  virtual void reload()
8  {
9  }
10  virtual void save()
11  {
12  needs_save = false;
13  }
14  bool get_needs_save()
15  {
16  return needs_save;
17  }
18 
19 protected:
20  bool needs_save = false;
21 };
22 } // namespace horizon
horizon::PoolGotoProvider
Definition: pool_goto_provider.hpp:7
horizon::PoolEditorInterface
Definition: editor_interface.hpp:5