summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/utilities.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-26 00:17:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-26 00:17:21 +0000
commit0072a0880c077fc0a21fd57214e6c5bf8497402a (patch)
treea4c4a2667fbca02b195ebc5c268752ab3a407aea /protocols/WhatsApp/src/WhatsAPI++/utilities.h
parentd32c7402ad63175d48579a2779d47800a2dd74c2 (diff)
first version that logs in
git-svn-id: http://svn.miranda-ng.org/main/trunk@11913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/utilities.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/utilities.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/utilities.h b/protocols/WhatsApp/src/WhatsAPI++/utilities.h
index d0096489e2..4df6fde13d 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/utilities.h
+++ b/protocols/WhatsApp/src/WhatsAPI++/utilities.h
@@ -34,14 +34,6 @@
#include <syslog.h>
#endif
-#ifdef _DEBUG
- #define _DEBUGENABLED true
-#else
- #define _DEBUGENABLED false
-#endif
-
-#define _LOGDATA(format, ...) if (_DEBUGENABLED) Utilities::logData(format, ##__VA_ARGS__)
-
using namespace std;
// these functions must be declared somewhere in the same linking module
@@ -61,7 +53,6 @@ namespace Utilities{
std::string doubleToStr(double d);
long long parseLongLong(const std::string& str);
time_t parseBBDate(const string& s);
- void logData(const char *msg, ...);
long long getCurrentTimeMillis();
std::string bytesToHex(unsigned char* bytes, int length);
unsigned char forDigit(int b);