diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-05-04 16:22:54 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-05-04 16:22:54 +0000 |
commit | 8e09c4d75e26ed3fc165cd35fd1fc79614b1420e (patch) | |
tree | 5991c15526aa4fbe13d12d956cc039e8e3edaf9a /protocols/Tox/src/tox_logger.h | |
parent | 0a43d6b600e48abd24097a4dc8d82f4dc7f0a188 (diff) |
Tox:
- removed own logger
- bootstrap splitted into two functions: udp and tcp
git-svn-id: http://svn.miranda-ng.org/main/trunk@16801 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_logger.h')
-rw-r--r-- | protocols/Tox/src/tox_logger.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/protocols/Tox/src/tox_logger.h b/protocols/Tox/src/tox_logger.h deleted file mode 100644 index b460f87de7..0000000000 --- a/protocols/Tox/src/tox_logger.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef _TOX_LOGGER_H_
-#define _TOX_LOGGER_H_
-
-class CLogger
-{
-private:
- HANDLE hNetlibUser;
-
-public:
- CLogger(HANDLE hNetlibUser) : hNetlibUser(hNetlibUser) {}
-
- __inline void Log(LPCSTR szFormat, ...) const
- {
- va_list args;
- va_start(args, szFormat);
- CallService(MS_NETLIB_LOG, (WPARAM)hNetlibUser, (LPARAM)(CMStringA().FormatV(szFormat, args)));
- va_end(args);
- }
- __inline void Log(LPCWSTR wszFormat, ...) const
- {
- va_list args;
- va_start(args, wszFormat);
- CallService(MS_NETLIB_LOGW, (WPARAM)hNetlibUser, (LPARAM)(CMStringW().FormatV(wszFormat, args)));
- va_end(args);
- }
-};
-
-#endif //_TOX_LOGGER_H_
\ No newline at end of file |