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.
1
#include "
module_identification/utils/gui_layout_locker.h
"
2
3
#include "
hal_core/plugin_system/plugin_interface_ui.h
"
4
#include "
hal_core/plugin_system/plugin_manager.h
"
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
17
GuiLayoutLocker::~GuiLayoutLocker
()
18
{
19
if
(mGuiPlugin)
20
mGuiPlugin->
set_layout_locker
(
false
);
21
}
22
}
// namespace module_identification
23
}
// namespace hal
hal::UIPluginInterface::set_layout_locker
virtual void set_layout_locker(bool enable)=0
hal::module_identification::GuiLayoutLocker::~GuiLayoutLocker
~GuiLayoutLocker()
Definition:
gui_layout_locker.cpp:17
hal::module_identification::GuiLayoutLocker::GuiLayoutLocker
GuiLayoutLocker()
Definition:
gui_layout_locker.cpp:10
gui_layout_locker.h
hal
Definition:
defines.h:45
plugin_interface_ui.h
plugin_manager.h
plugins
module_identification
src
utils
gui_layout_locker.cpp
Generated by
1.9.1