warshutdownthread.h

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

H
83
字号
/** */#ifndef WAR_SHUTDOWN_THREAD_H#define WAR_SHUTDOWN_THREAD_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_SHUTDOWN_ENGINE_H#   include "WarShutdownEngine.h"#endif#ifndef WAR_THREAD_H#   include "WarThread.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarShutdownThread : public WarThread{public:    // LIFECYCLE        /**    * Default constructor.    */    WarShutdownThread()     {        ;    }            // OPERATORS    // OPERATIONS    // CALLBACK    // ACCESS    // INQUIRY    protected:    virtual void Run()    {        WarShutdownEngine::GetEngine().Shutdown();    }private:};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_SHUTDOWN_THREAD_H_ */

⌨️ 快捷键说明

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