#pragma once #include #include "common.hpp" #include "drawtypes/label.hpp" #include "utils/mixins.hpp" POLYBAR_NS namespace drawtypes { class iconset : public non_copyable_mixin { public: void add(string id, label_t&& icon); bool has(const string& id); label_t get(const string& id, const string& fallback_id = "", bool fuzzy_match = false); operator bool(); protected: std::map m_icons; }; using iconset_t = shared_ptr; } POLYBAR_NS_END