swaymux/sway_bindings/Sway.h

24 lines
332 B
C
Raw Permalink Normal View History

2024-03-04 00:27:05 +01:00
//
// Created by grimmauld on 03.03.24.
//
#ifndef IPCSWAYTEST_SWAY_H
#define IPCSWAYTEST_SWAY_H
#include "swaymsg.h"
class Sway {
protected:
const int socketfd;
public:
explicit Sway();
void initializeSocket() const;
[[nodiscard]] swaymsg sendIPC(const swaymsg& query) const;
};
#endif //IPCSWAYTEST_SWAY_H