Skip to content

Commit

Permalink
chore: clean headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Aug 12, 2018
1 parent 3690e7a commit 01894f1
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 20 deletions.
2 changes: 2 additions & 0 deletions include/IModule.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <gtkmm.h>

namespace waybar {
class IModule {
public:
Expand Down
5 changes: 0 additions & 5 deletions include/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@
#include <unistd.h>
#include <wordexp.h>

#include <iostream>

#include <fmt/format.h>

#include <gdk/gdk.h>
#include <gtkmm.h>
#include <wayland-client.h>

#include "wlr-layer-shell-unstable-v1-client-protocol.h"

#include <gdk/gdkwayland.h>

#include "bar.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/modules/battery.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <json/json.h>
#include <filesystem>
#include <fstream>
#include <gtkmm.h>
#include <iostream>
#include <fmt/format.h>
#include "util/chrono.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/modules/clock.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <json/json.h>
#include <gtkmm.h>
#include <fmt/format.h>
#include "util/chrono.hpp"
#include "IModule.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/modules/cpu.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <json/json.h>
#include <gtkmm.h>
#include <fmt/format.h>
#include <sys/sysinfo.h>
#include "util/chrono.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/modules/custom.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <json/json.h>
#include <gtkmm.h>
#include <fmt/format.h>
#include "util/chrono.hpp"
#include "IModule.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/modules/memory.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <json/json.h>
#include <gtkmm.h>
#include <fmt/format.h>
#include <sys/sysinfo.h>
#include "util/chrono.hpp"
Expand Down
2 changes: 0 additions & 2 deletions include/modules/network.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
#include <netlink/genl/genl.h>
#include <netlink/genl/ctrl.h>
#include <linux/nl80211.h>
#include <iwlib.h> // TODO
#include <json/json.h>
#include <gtkmm.h>
#include <fmt/format.h>
#include "util/chrono.hpp"
#include "IModule.hpp"
Expand Down
1 change: 0 additions & 1 deletion include/modules/pulseaudio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <pulse/pulseaudio.h>
#include <json/json.h>
#include <gtkmm.h>
#include <fmt/format.h>
#include "IModule.hpp"

Expand Down
4 changes: 0 additions & 4 deletions src/bar.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include <condition_variable>
#include <gdk/gdkwayland.h>
#include <thread>
#include <fstream>
#include "bar.hpp"
#include "client.hpp"
#include "factory.hpp"
Expand Down
4 changes: 1 addition & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include <gtkmm.h>
#include <wayland-client.hpp>
#include <gdk/gdkwayland.h>
#include <csignal>
#include <iostream>
#include "client.hpp"

namespace waybar {
Expand Down

0 comments on commit 01894f1

Please sign in to comment.