24 lines
332 B
C
24 lines
332 B
C
|
//
|
||
|
// 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
|