mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-01 00:12:42 +01:00 
			
		
		
		
	refactor(modules): const bar
This commit is contained in:
		| @@ -12,13 +12,14 @@ namespace waybar::modules::SNI { | ||||
|  | ||||
| class Tray : public IModule { | ||||
|   public: | ||||
|     Tray(Bar& bar, const Json::Value&); | ||||
|     Tray(const Bar& bar, const Json::Value&); | ||||
|     auto update() -> void; | ||||
|     operator Gtk::Widget &(); | ||||
|   private: | ||||
|     void onAdd(std::unique_ptr<Item>& item); | ||||
|     void onRemove(std::unique_ptr<Item>& item); | ||||
|  | ||||
|     static inline std::size_t nb_hosts_ = 0; | ||||
|     std::thread thread_; | ||||
|     const Json::Value& config_; | ||||
|     Gtk::Box box_; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexis
					Alexis