warthreadspesificdata.h

来自「ftpserver very good sample」· C头文件 代码 · 共 78 行

H
78
字号
/** */#ifndef WAR_THREAD_SPESIFIC_DATA_H#define WAR_THREAD_SPESIFIC_DATA_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES *//* LOCAL INCLUDES *//* FORWARD REFERENCES */class WarThread;class WarSvrProtocol;#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarThreadSpesificData {public:    // LIFECYCLE        /**    * Default constructor.    */    WarThreadSpesificData(void)        : mpThread(NULL)    {}            /**    * Destructor.    */    ~WarThreadSpesificData(void)    {}        // OPERATORS        // OPERATIONS                           // ACCESS    // INQUIRY        WarThread *mpThread; // The current therad object	WarSvrProtocol *mpSvrProtocol; // The current protocol (if any)protected:private:};/* INLINE METHODS */#define WarGetTsd()  WarThread::GetTsd()/* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* _WAR_THREAD_SPESIFIC_DATA_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?