Main Page
Namespaces
Classes
Files
File List
File Members
src
panels
exclude_panel.cpp
Go to the documentation of this file.
1
28
#include <
log_view/panels/exclude_panel.h
>
29
30
namespace
log_view
{
31
32
void
ExcludePanel::refresh
() {
33
mvwprintw(
window_
, 0, 0,
"exclude: %s"
,
input_text_
.c_str());
34
}
35
36
void
ExcludePanel::activate
(
bool
enable) {
37
if
(enable) {
38
filter_
.
setExclude
(
input_text_
);
39
}
40
else
{
41
filter_
.
setExclude
(
""
);
42
}
43
}
44
45
}
// namespace log_view
log_view::ExcludePanel::activate
virtual void activate(bool enable)
Definition:
exclude_panel.cpp:36
log_view::PanelInterface::window_
WINDOW * window_
Definition:
panel_interface.h:94
log_view::LogFilter::setExclude
void setExclude(const std::string &exclude)
Definition:
log_filter.cpp:57
log_view
Definition:
datatypes.h:35
exclude_panel.h
log_view::ExcludePanel::refresh
virtual void refresh()
Definition:
exclude_panel.cpp:32
log_view::ExcludePanel::filter_
LogFilter & filter_
Definition:
exclude_panel.h:48
log_view::PanelInterface::input_text_
std::string input_text_
Definition:
panel_interface.h:105
log_view
Author(s): Marc Alban
autogenerated on Thu Mar 4 2021 03:21:52