[DEV] remove __class__ and better header

This commit is contained in:
Edouard DUPIN 2016-04-29 22:33:47 +02:00
parent 515260795b
commit 533e15ce8d
13 changed files with 13 additions and 58 deletions

View File

@ -1,16 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <enet/debug.h> #include <enet/debug.h>
#include <enet/Ftp.h> #include <enet/Ftp.h>
#include <string.h> #include <string.h>
#ifdef __class__
#undef __class__
#endif
#define __class__ ("Ftp")

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
@ -12,11 +10,6 @@
#include <etk/stdTools.h> #include <etk/stdTools.h>
#include <string.h> #include <string.h>
#ifdef __class__
#undef __class__
#endif
#define __class__ ("Http")
static std::map<int32_t, std::string> getErrorList() { static std::map<int32_t, std::string> getErrorList() {
static std::map<int32_t, std::string> g_list; static std::map<int32_t, std::string> g_list;
return g_list; return g_list;

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
@ -17,10 +15,6 @@
#include <string.h> #include <string.h>
#include <etk/stdTools.h> #include <etk/stdTools.h>
#ifdef __class__
#undef __class__
#endif
#define __class__ ("Tcp")
enet::Tcp::Tcp() : enet::Tcp::Tcp() :
m_socketId(-1), m_socketId(-1),

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,16 +1,9 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <enet/debug.h> #include <enet/debug.h>
#include <enet/Udp.h> #include <enet/Udp.h>
#ifdef __class__
#undef __class__
#endif
#define __class__ ("Udp")

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#pragma once #pragma once

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */

View File

@ -1,8 +1,6 @@
/** /** @file
* @author Edouard DUPIN * @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved * @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */