[DEV] remove __class__ and better header
This commit is contained in:
parent
515260795b
commit
533e15ce8d
@ -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")
|
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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),
|
||||||
|
@ -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
|
||||||
|
@ -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")
|
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -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)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user