summaryrefslogtreecommitdiff
path: root/src/TimeBasedCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/TimeBasedCommand.h')
-rw-r--r--src/TimeBasedCommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/TimeBasedCommand.h b/src/TimeBasedCommand.h
index f23353f6..b4829e5c 100644
--- a/src/TimeBasedCommand.h
+++ b/src/TimeBasedCommand.h
@@ -37,7 +37,8 @@
#include "Command.h"
#include "TimeA2.h"
-#include "DownloadEngine.h"
+
+class DownloadEngine;
class TimeBasedCommand : public Command
{
@@ -73,10 +74,9 @@ public:
virtual void postProcess() {};
public:
- TimeBasedCommand(int32_t cuid, DownloadEngine* e, int32_t interval):
- Command(cuid), _e(e),_exit(false), _interval(interval) {}
+ TimeBasedCommand(int32_t cuid, DownloadEngine* e, int32_t interval);
- virtual ~TimeBasedCommand() {}
+ virtual ~TimeBasedCommand();
virtual bool execute();
};