📄 warthreadspesificdata.h
字号:
/** */#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -