summaryrefslogtreecommitdiff
path: root/src/TimeBasedCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-21 13:51:56 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-21 13:51:56 +0000
commitca4940622c05e50a50f77c621ade914029663446 (patch)
tree2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/TimeBasedCommand.h
parentae957baa98d4f97ea2437596db5073f9c33d22ae (diff)
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks like var_ instead of _var.
Diffstat (limited to 'src/TimeBasedCommand.h')
-rw-r--r--src/TimeBasedCommand.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/TimeBasedCommand.h b/src/TimeBasedCommand.h
index 488df5b7..9f3d2556 100644
--- a/src/TimeBasedCommand.h
+++ b/src/TimeBasedCommand.h
@@ -45,36 +45,36 @@ class DownloadEngine;
class TimeBasedCommand : public Command
{
private:
- DownloadEngine* _e;
+ DownloadEngine* e_;
/**
- * setting _exit to true if this command's job has finished and you want to
+ * setting exit_ to true if this command's job has finished and you want to
* delete this command.
- * The _exit variable is evaluated after preProcess(), process(),
+ * The exit_ variable is evaluated after preProcess(), process(),
* postProcess(), and terminate processing immediately and excute() returns
* true.
*/
- bool _exit;
+ bool exit_;
- time_t _interval; // unit: sec
+ time_t interval_; // unit: sec
- bool _routineCommand;
+ bool routineCommand_;
- Timer _checkPoint;
+ Timer checkPoint_;
protected:
DownloadEngine* getDownloadEngine() const
{
- return _e;
+ return e_;
}
void enableExit()
{
- _exit = true;
+ exit_ = true;
}
time_t getInterval() const
{
- return _interval;
+ return interval_;
}
public:
/**