Horizon
pool-prj-mgr-process.hpp
1 #pragma once
2 #include "util/editor_process.hpp"
3 #include "util/uuid.hpp"
4 
5 namespace horizon {
7 public:
8  enum class Type { IMP_SYMBOL, IMP_PADSTACK, IMP_PACKAGE, IMP_SCHEMATIC, IMP_BOARD, IMP_FRAME, UNIT, ENTITY, PART };
9  PoolProjectManagerProcess(const UUID &uu, Type ty, const std::vector<std::string> &args,
10  const std::vector<std::string> &env, class Pool *pool,
11  class PoolParametric *pool_parametric, bool read_only, bool is_temp);
12  UUID uuid;
13  Type type;
14  std::unique_ptr<EditorProcess> proc = nullptr;
15  class EditorWindow *win = nullptr;
16  typedef sigc::signal<void, int, bool> type_signal_exited;
17  type_signal_exited signal_exited()
18  {
19  return s_signal_exited;
20  }
21  typedef sigc::signal<void, std::string, bool> type_signal_output;
22  type_signal_output signal_output()
23  {
24  return s_signal_output;
25  }
26  void reload();
27  std::string get_filename();
28 
29 private:
30  type_signal_exited s_signal_exited;
31  type_signal_output s_signal_output;
32  Glib::TimeVal mtime;
33  std::string filename;
34 };
35 } // namespace horizon
horizon::EditorWindow
Definition: editor_window.hpp:22
horizon::PoolProjectManagerProcess
Definition: pool-prj-mgr-process.hpp:6
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
horizon::Pool
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition: pool.hpp:21
horizon::PoolParametric
Definition: pool_parametric.hpp:10