Horizon
pool-prj-mgr-process.hpp
1 #pragma once
2 #include "util/editor_process.hpp"
3 
4 namespace horizon {
5 class PoolProjectManagerProcess : public sigc::trackable {
6 public:
7  enum class Type { IMP_SYMBOL, IMP_PADSTACK, IMP_PACKAGE, IMP_SCHEMATIC, IMP_BOARD, IMP_FRAME, UNIT, ENTITY, PART };
8  PoolProjectManagerProcess(Type ty, const std::vector<std::string> &args, const std::vector<std::string> &env,
9  class Pool *pool, bool read_only = false);
10  Type type;
11  std::unique_ptr<EditorProcess> proc = nullptr;
12  class EditorWindow *win = nullptr;
13  typedef sigc::signal<void, int, bool> type_signal_exited;
14  type_signal_exited signal_exited()
15  {
16  return s_signal_exited;
17  }
18  void reload();
19 
20 private:
21  type_signal_exited s_signal_exited;
22  Glib::TimeVal mtime;
23 };
24 } // namespace horizon
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:19
Definition: block.cpp:9
Definition: editor_window.hpp:21
Definition: pool-prj-mgr-process.hpp:5