refactor: header cleanup

Replace a couple of header includes with forward declarations.
This commit is contained in:
Aleksei Bavshin
2020-10-21 22:45:03 -07:00
parent f01996ae99
commit f97de599dd
5 changed files with 10 additions and 2 deletions

View File

@ -9,8 +9,6 @@
#include <json/json.h>
#include "AModule.hpp"
#include "idle-inhibit-unstable-v1-client-protocol.h"
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
#include "xdg-output-unstable-v1-client-protocol.h"
namespace waybar {

View File

@ -8,6 +8,10 @@
#include <wordexp.h>
#include "bar.hpp"
struct zwlr_layer_shell_v1;
struct zwp_idle_inhibitor_v1;
struct zwp_idle_inhibit_manager_v1;
namespace waybar {
class Client {