diff options
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h b/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h deleted file mode 100644 index b017df8cdc..0000000000 --- a/protocols/WhatsApp/src/WhatsAPI++/ISocketConnection.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef ISOCKETCONNECTION_H_
-#define ISOCKETCONNECTION_H_
-
-#include <vector>
-
-class ISocketConnection {
-
-public:
- ISocketConnection() {}
- virtual ~ISocketConnection() {}
-
- virtual void write(int i) = 0;
- virtual unsigned char read() = 0;
- virtual void flush() = 0;
- virtual void write(const std::vector<unsigned char>& b, int length) = 0;
- virtual int read(unsigned char*, int length) = 0;
- virtual int read(std::vector<unsigned char>& b, int off, int length) = 0;
- virtual void makeNonBlock() = 0;
- virtual void forceShutdown() = 0;
-
- virtual void log(const char *prefix, const char *str) = 0;
-};
-
-#endif /* ISOCKETCONNECTION_H_ */
|