diff options
Diffstat (limited to 'protocols/WhatsApp/src/WASocketConnection.h')
-rw-r--r-- | protocols/WhatsApp/src/WASocketConnection.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/protocols/WhatsApp/src/WASocketConnection.h b/protocols/WhatsApp/src/WASocketConnection.h deleted file mode 100644 index 83eb61e7f5..0000000000 --- a/protocols/WhatsApp/src/WASocketConnection.h +++ /dev/null @@ -1,35 +0,0 @@ -#if !defined(WASOCKETCONNECTION_H)
-#define WASOCKETCONNECTION_H
-
-#include "WhatsAPI++/ISocketConnection.h"
-#include "WhatsAPI++/WAException.h"
-
-class WASocketConnection : public ISocketConnection
-{
- int readSize;
- int maxBufRead;
- bool connected;
-
- HNETLIBCONN hConn;
-
-public:
- WASocketConnection(const std::string &dir, int port) throw (WAException);
- virtual ~WASocketConnection();
-
- virtual void write(int i);
- virtual unsigned char read();
- virtual int read(std::vector<unsigned char>& b, int off, int length);
- virtual int read(unsigned char*, int length);
- virtual void flush();
- virtual void write(const std::vector<unsigned char>& b, int length);
- // virtual void write(const std::vector<unsigned char>& bytes, int offset, int length);
- virtual void makeNonBlock();
- virtual void forceShutdown();
-
- virtual void log(const char *prefix, const char *str);
-
- static void initNetwork(HNETLIBUSER hNetlibUser) throw (WAException);
- static void quitNetwork();
-};
-
-#endif // WASOCKETCONNECTION_H
\ No newline at end of file |