#pragma once #include "common.hpp" #include "utils/functional.hpp" POLYBAR_NS // fwd decl {{{ enum class mousebtn; enum class syntaxtag; enum class alignment; enum class attribute; enum class gc; class color; // }}} /** * @TODO: Allow multiple signal handlers */ namespace g_signals { namespace bar { extern callback action_click; extern callback visibility_change; } namespace parser { extern callback alignment_change; extern callback attribute_set; extern callback attribute_unset; extern callback attribute_toggle; extern callback action_block_open; extern callback action_block_close; extern callback color_change; extern callback font_change; extern callback pixel_offset; extern callback ascii_text_write; extern callback unicode_text_write; extern callback string_write; } namespace tray { extern callback report_slotcount; extern callback clear_bg; } } POLYBAR_NS_END