mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
26f20b805d
When events are hidden in the profile, only hide events with the same name and the same severity (flags). From discussion in https://github.com/subsurface/libdc/pull/54. Signed-off-by: Michael Keller <github@ike.ch>
20 lines
433 B
C
20 lines
433 B
C
// collect all event names and whether we display events of that type
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef EVENTNAME_H
|
|
#define EVENTNAME_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void clear_event_names(void);
|
|
extern void remember_event_name(const char *eventname);
|
|
extern bool is_event_hidden(const char *eventname);
|
|
extern void show_all_events();
|
|
extern bool any_events_hidden();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|