/* */ #ifndef KEEP_RUNNING_COMMAND_H #define KEEP_RUNNING_COMMAND_H #include "Command.h" namespace aria2 { class DownloadEngine; // This object does nothing but it is added to DownloadEngine command // queue (not routine one), and keeps event polling work. class KeepRunningCommand : public Command { public: KeepRunningCommand(cuid_t cuid, DownloadEngine* e); virtual ~KeepRunningCommand(); virtual bool execute() CXX11_OVERRIDE; private: DownloadEngine* e_; }; } // namespace aria2 #endif // KEEP_RUNNING_COMMAND_H