chore: cpplint fixes hyprland headers

pull/2456/head
Austin Horstman 2023-09-02 15:22:26 -05:00
parent 8eb614f69e
commit ce076927f3
No known key found for this signature in database
5 changed files with 20 additions and 1 deletions

View File

@ -1,10 +1,12 @@
#pragma once #pragma once
#include <functional> #include <functional>
#include <list> #include <list>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <string> #include <string>
#include <thread> #include <thread>
#include <utility>
#include "util/json.hpp" #include "util/json.hpp"

View File

@ -1,5 +1,9 @@
#pragma once
#include <fmt/format.h> #include <fmt/format.h>
#include <string>
#include "ALabel.hpp" #include "ALabel.hpp"
#include "bar.hpp" #include "bar.hpp"
#include "modules/hyprland/backend.hpp" #include "modules/hyprland/backend.hpp"

View File

@ -1,5 +1,9 @@
#pragma once
#include <fmt/format.h> #include <fmt/format.h>
#include <string>
#include "ALabel.hpp" #include "ALabel.hpp"
#include "bar.hpp" #include "bar.hpp"
#include "modules/hyprland/backend.hpp" #include "modules/hyprland/backend.hpp"

View File

@ -1,5 +1,9 @@
#pragma once
#include <fmt/format.h> #include <fmt/format.h>
#include <string>
#include "AAppIconLabel.hpp" #include "AAppIconLabel.hpp"
#include "bar.hpp" #include "bar.hpp"
#include "modules/hyprland/backend.hpp" #include "modules/hyprland/backend.hpp"

View File

@ -1,7 +1,12 @@
#pragma once
#include <gtkmm/button.h> #include <gtkmm/button.h>
#include <gtkmm/label.h> #include <gtkmm/label.h>
#include <map>
#include <memory> #include <memory>
#include <string>
#include <vector>
#include "AModule.hpp" #include "AModule.hpp"
#include "bar.hpp" #include "bar.hpp"
@ -11,7 +16,7 @@ namespace waybar::modules::hyprland {
class Workspace { class Workspace {
public: public:
Workspace(const Json::Value& workspace_data); explicit Workspace(const Json::Value& workspace_data);
std::string& select_icon(std::map<std::string, std::string>& icons_map); std::string& select_icon(std::map<std::string, std::string>& icons_map);
Gtk::Button& button() { return button_; }; Gtk::Button& button() { return button_; };