summaryrefslogtreecommitdiff
path: root/IPC.h
diff options
context:
space:
mode:
Diffstat (limited to 'IPC.h')
-rw-r--r--IPC.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/IPC.h b/IPC.h
deleted file mode 100644
index 89e67e5..0000000
--- a/IPC.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#pragma once
-
-#include <sys/socket.h>
-#include <sys/un.h>
-
-#include "commands.h"
-#include "config.h"
-#include "util.h"
-
-class IPCModule
-{
-public:
- IPCModule(CommandsModule& commandsModule, Config& cfg, Globals& globals);
- void init();
- void doListen();
- void quitIPC();
- int getFD();
-private:
- CommandsModule& commandsModule;
- Config& cfg;
- Globals& globals;
- int sockfd;
- int len;
- bool first = true;
- sockaddr_un address;
-};