From b1132d6b10cd3791b9529d7031d723fd0e2d8215 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 27 Dec 2015 18:39:47 +0900 Subject: make clang-format using clang-format-3.6 --- src/TimeBasedCommand.h | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'src/TimeBasedCommand.h') diff --git a/src/TimeBasedCommand.h b/src/TimeBasedCommand.h index e5082cad..d8d17b34 100644 --- a/src/TimeBasedCommand.h +++ b/src/TimeBasedCommand.h @@ -42,8 +42,7 @@ namespace aria2 { class DownloadEngine; -class TimeBasedCommand : public Command -{ +class TimeBasedCommand : public Command { private: DownloadEngine* e_; @@ -63,25 +62,17 @@ private: bool routineCommand_; protected: - DownloadEngine* getDownloadEngine() const - { - return e_; - } - - void enableExit() - { - exit_ = true; - } - - const std::chrono::seconds& getInterval() const - { - return interval_; - } + DownloadEngine* getDownloadEngine() const { return e_; } + + void enableExit() { exit_ = true; } + + const std::chrono::seconds& getInterval() const { return interval_; } + public: /** * preProcess() is called each time when excute() is called. */ - virtual void preProcess() {}; + virtual void preProcess(){}; /** * process() is called only when excute() is called and specified time has @@ -92,7 +83,7 @@ public: /** * postProcess() is called each time when excute() is called. */ - virtual void postProcess() {}; + virtual void postProcess(){}; public: TimeBasedCommand(cuid_t cuid, DownloadEngine* e, -- cgit