summaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-05 13:55:59 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-05 14:20:42 +0900
commit21754fa103647395b3eeb100506ce1b12aaed60a (patch)
tree348da82a87d3ab98af314ea2ccfd4341435f1f25 /src/includes
parent74811ddaff123e331368f69d93de4c9741f82fee (diff)
Add following to aria2.tellStatus response key as reverse link for followedBy
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/aria2/aria2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/includes/aria2/aria2.h b/src/includes/aria2/aria2.h
index dbfbe8ae..e13f0bac 100644
--- a/src/includes/aria2/aria2.h
+++ b/src/includes/aria2/aria2.h
@@ -808,6 +808,12 @@ public:
*/
virtual const std::vector<A2Gid>& getFollowedBy() = 0;
/**
+ * Returns the GID of the download which generated this download.
+ * This is a reverse link of
+ * :func:`DownloadHandle::getFollowedBy()`.
+ */
+ virtual A2Gid getFollowing() = 0;
+ /**
* Returns the GID of a parent download. Some downloads are a part
* of another download. For example, if a file in Metalink has
* BitTorrent resource, the download of ".torrent" is a part of that