HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
gui_layout_locker.cpp
Go to the documentation of this file.
2 
5 
6 namespace hal
7 {
8  namespace module_identification
9  {
10  GuiLayoutLocker::GuiLayoutLocker() : mGuiPlugin(nullptr)
11  {
12  mGuiPlugin = plugin_manager::get_plugin_instance<UIPluginInterface>("hal_gui");
13  if (mGuiPlugin)
14  mGuiPlugin->set_layout_locker(true);
15  }
16 
18  {
19  if (mGuiPlugin)
20  mGuiPlugin->set_layout_locker(false);
21  }
22  } // namespace module_identification
23 } // namespace hal
virtual void set_layout_locker(bool enable)=0
Definition: defines.h:45