| 53 | |
| 54 | |
| 55 | void FlowGraphLayout::Register(FlowGraphLayout* layout) |
| 56 | { |
| 57 | BNCustomFlowGraphLayout callbacks; |
| 58 | callbacks.context = layout; |
| 59 | callbacks.layout = LayoutCallback; |
| 60 | layout->AddRefForRegistration(); |
| 61 | layout->m_object = BNRegisterFlowGraphLayout(layout->m_nameForRegister.c_str(), &callbacks); |
| 62 | } |
| 63 | |
| 64 | |
| 65 | Ref<FlowGraphLayout> FlowGraphLayout::GetByName(const string& name) |
nothing calls this directly
no test coverage detected