mirror of
https://github.com/polybar/polybar.git
synced 2025-05-26 18:12:06 -04:00
refactor(signals): Avoid reinterpret_cast
This commit is contained in:
parent
d9c035381e
commit
a2bcb1a627
10 changed files with 173 additions and 114 deletions
|
@ -4,10 +4,16 @@
|
|||
|
||||
POLYBAR_NS
|
||||
|
||||
class signal_emitter;
|
||||
class signal_receiver_interface;
|
||||
template <uint8_t Priority, typename Signal, typename... Signals>
|
||||
class signal_receiver;
|
||||
|
||||
namespace signals {
|
||||
namespace detail {
|
||||
class signal;
|
||||
}
|
||||
|
||||
namespace eventqueue {
|
||||
struct exit_terminate;
|
||||
struct exit_reload;
|
||||
|
@ -28,6 +34,9 @@ namespace signals {
|
|||
struct shade_window;
|
||||
struct unshade_window;
|
||||
}
|
||||
namespace ui_tray {
|
||||
struct mapped_clients;
|
||||
}
|
||||
namespace parser {
|
||||
struct change_background;
|
||||
struct change_foreground;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue