| 918 | |
| 919 | template <typename T> |
| 920 | std::shared_ptr<ProcessorWindow> Processor::getOrCreateEditorWindowInternal(Thread::ThreadID tid, T func, |
| 921 | std::function<void()> onHide, int x, |
| 922 | int y) { |
| 923 | traceScope(); |
| 924 | |
| 925 | if (auto& w = m_windows[getWindowIndex()]) { |
| 926 | return w; |
| 927 | } |
| 928 | |
| 929 | auto w = std::make_shared<ProcessorWindow>(shared_from_this(), tid, func, onHide, x, y); |
| 930 | m_windows[getWindowIndex()] = w; |
| 931 | |
| 932 | return w; |
| 933 | } |
| 934 | |
| 935 | std::shared_ptr<ProcessorWindow> Processor::recreateEditorWindow() { |
| 936 | traceScope(); |
nothing calls this directly
no outgoing calls
no test coverage detected