diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-29 18:51:38 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-29 18:51:38 +0100 |
commit | 3401bcfd5ed57dec9e0f78553d627d7608170cb6 (patch) | |
tree | c36ac6fe4581379ed03f72409244aa40414b9580 /pyload/remote/pyload.thrift | |
parent | fixed new waiting dl rule (diff) | |
download | pyload-3401bcfd5ed57dec9e0f78553d627d7608170cb6.tar.xz |
added connection flags to download status
Diffstat (limited to 'pyload/remote/pyload.thrift')
-rw-r--r-- | pyload/remote/pyload.thrift | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift index 9d400c4e2..8c85fbd00 100644 --- a/pyload/remote/pyload.thrift +++ b/pyload/remote/pyload.thrift @@ -129,6 +129,12 @@ enum ProgressType { FileOperation = 32, } +enum Connection { + All = 0, + Resumable = 1, + Secure = 2, +} + struct Input { 1: InputType type, 2: optional JSONString default_value, @@ -139,7 +145,8 @@ struct DownloadProgress { 1: FileID fid, 2: PackageID pid, 3: ByteCount speed, // per second - 4: DownloadStatus status, + 4: Connection conn, + 5: DownloadStatus status, } struct ProgressInfo { @@ -315,7 +322,7 @@ struct AccountInfo { 9: bool premium, 10: bool activated, 11: bool shared, - 13: list <ConfigItem> config, + 12: list <ConfigItem> config, } struct OnlineCheck { |