summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WASocketConnection.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-07 19:36:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-07 19:36:41 +0000
commit5b304799fb995811a8686bab9e877cb235c21a2e (patch)
tree0e212481e8b6b92b82ae10fa6b6896f565e64bb4 /protocols/WhatsApp/src/WASocketConnection.h
parent9540f9a510f3eaab57285c56198d270c648d54a1 (diff)
correct log format
git-svn-id: http://svn.miranda-ng.org/main/trunk@12044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WASocketConnection.h')
-rw-r--r--protocols/WhatsApp/src/WASocketConnection.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/protocols/WhatsApp/src/WASocketConnection.h b/protocols/WhatsApp/src/WASocketConnection.h
index 95b30c274c..72775b9cf1 100644
--- a/protocols/WhatsApp/src/WASocketConnection.h
+++ b/protocols/WhatsApp/src/WASocketConnection.h
@@ -20,18 +20,18 @@ public:
WASocketConnection(const std::string &dir, int port) throw (WAException);
virtual ~WASocketConnection();
- void write(int i);
- unsigned char read();
- int read(std::vector<unsigned char>& b, int off, int length);
- int read(unsigned char*, int length);
- void flush();
- void write(const std::vector<unsigned char>& b, int length);
- void write(const std::vector<unsigned char>& bytes, int offset, int length);
- void makeNonBlock();
- int waitForRead();
- void forceShutdown();
+ 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 int waitForRead();
+ virtual void forceShutdown();
- void log(const char *str);
+ virtual void log(const char *prefix, const char *str);
static void initNetwork(HANDLE hNetlibUser) throw (WAException);
static void quitNetwork();