summaryrefslogtreecommitdiff
path: root/src/ChecksumCheckIntegrityEntry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChecksumCheckIntegrityEntry.h')
-rw-r--r--src/ChecksumCheckIntegrityEntry.h27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/ChecksumCheckIntegrityEntry.h b/src/ChecksumCheckIntegrityEntry.h
index f043bb6f..8930487a 100644
--- a/src/ChecksumCheckIntegrityEntry.h
+++ b/src/ChecksumCheckIntegrityEntry.h
@@ -39,14 +39,14 @@
namespace aria2 {
-class ChecksumCheckIntegrityEntry:public CheckIntegrityEntry
-{
+class ChecksumCheckIntegrityEntry : public CheckIntegrityEntry {
private:
bool redownload_;
+
public:
- ChecksumCheckIntegrityEntry(RequestGroup* requestGroup,
- std::unique_ptr<Command> nextCommand =
- std::unique_ptr<Command>());
+ ChecksumCheckIntegrityEntry(
+ RequestGroup* requestGroup,
+ std::unique_ptr<Command> nextCommand = std::unique_ptr<Command>());
virtual ~ChecksumCheckIntegrityEntry();
@@ -54,18 +54,15 @@ public:
virtual void initValidator() CXX11_OVERRIDE;
- virtual void onDownloadFinished
- (std::vector<std::unique_ptr<Command>>& commands,
- DownloadEngine* e) CXX11_OVERRIDE;
+ virtual void
+ onDownloadFinished(std::vector<std::unique_ptr<Command>>& commands,
+ DownloadEngine* e) CXX11_OVERRIDE;
- virtual void onDownloadIncomplete
- (std::vector<std::unique_ptr<Command>>& commands,
- DownloadEngine* e) CXX11_OVERRIDE;
+ virtual void
+ onDownloadIncomplete(std::vector<std::unique_ptr<Command>>& commands,
+ DownloadEngine* e) CXX11_OVERRIDE;
- void setRedownload(bool redownload)
- {
- redownload_ = redownload;
- }
+ void setRedownload(bool redownload) { redownload_ = redownload; }
};
} // namespace aria2