summaryrefslogtreecommitdiff
path: root/src/RequestGroup.h
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2013-08-25 21:00:37 +0200
committerNils Maier <maierman@web.de>2013-09-20 23:06:49 +0200
commit29d569eef98cdcabe52c365e75ca4da2174d8bf0 (patch)
tree94886f11a8be75e371b23547c2a211eda2820466 /src/RequestGroup.h
parent3590077d5c43d492b3e357d1a50afca4a7d1cfcf (diff)
Cleanup RequestGroup code a bit
Diffstat (limited to 'src/RequestGroup.h')
-rw-r--r--src/RequestGroup.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/RequestGroup.h b/src/RequestGroup.h
index 412db256..745a4ea6 100644
--- a/src/RequestGroup.h
+++ b/src/RequestGroup.h
@@ -194,8 +194,8 @@ private:
// returns error_code::UNKNOWN_ERROR.
error_code::Value downloadResult() const;
- void removeDefunctControlFile
- (const std::shared_ptr<BtProgressInfoFile>& progressInfoFile);
+ void removeDefunctControlFile(
+ const std::shared_ptr<BtProgressInfoFile>& progressInfoFile);
public:
RequestGroup(const std::shared_ptr<GroupId>& gid,
@@ -218,9 +218,8 @@ public:
void createInitialCommand(std::vector<std::unique_ptr<Command>>& commands,
DownloadEngine* e);
- void createNextCommandWithAdj
- (std::vector<std::unique_ptr<Command>>& commands,
- DownloadEngine* e, int numAdj);
+ void createNextCommandWithAdj(std::vector<std::unique_ptr<Command>>& commands,
+ DownloadEngine* e, int numAdj);
void createNextCommand(std::vector<std::unique_ptr<Command>>& commands,
DownloadEngine* e, int numCommand);
@@ -290,7 +289,8 @@ public:
void setPieceStorage(const std::shared_ptr<PieceStorage>& pieceStorage);
- void setProgressInfoFile(const std::shared_ptr<BtProgressInfoFile>& progressInfoFile);
+ void setProgressInfoFile(
+ const std::shared_ptr<BtProgressInfoFile>& progressInfoFile);
void increaseStreamCommand();
@@ -385,10 +385,10 @@ public:
void clearPreDownloadHandler();
- void processCheckIntegrityEntry
- (std::vector<std::unique_ptr<Command>>& commands,
- std::unique_ptr<CheckIntegrityEntry> entry,
- DownloadEngine* e);
+ void processCheckIntegrityEntry(
+ std::vector<std::unique_ptr<Command>>& commands,
+ std::unique_ptr<CheckIntegrityEntry> entry,
+ DownloadEngine* e);
// Initializes pieceStorage_ and segmentMan_. We guarantee that
// either both of pieceStorage_ and segmentMan_ are initialized or