diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-29 21:07:28 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-29 21:07:28 +0100 |
commit | 8318540e162cccbb049bebebc5aca03384a1e4e9 (patch) | |
tree | 5b4dc38520a82b5c8044a026ab996be1d71a782e /pyload/remote/pyload.thrift | |
parent | added auth to request class (diff) | |
download | pyload-8318540e162cccbb049bebebc5aca03384a1e4e9.tar.xz |
added progress type enum, new DebugCrypter + Hoster, little improvements for crypter api
Diffstat (limited to 'pyload/remote/pyload.thrift')
-rw-r--r-- | pyload/remote/pyload.thrift | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift index 9b8415d0f..a9431ea7c 100644 --- a/pyload/remote/pyload.thrift +++ b/pyload/remote/pyload.thrift @@ -116,6 +116,16 @@ enum Role { User = 1 } +enum ProgressType { + All = 0, + Other = 1, + Download = 2, + Decrypting = 4, + LinkCheck = 8, + Addon = 16, + FileOperation = 32, +} + struct Input { 1: InputType type, 2: optional JSONString default_value, @@ -135,8 +145,10 @@ struct ProgressInfo { 3: string statusmsg, 4: i32 eta, // in seconds 5: ByteCount done, - 6: ByteCount total, // arbitary number, size in case of files - 7: optional DownloadProgress download + 6: ByteCount total, // arbitary number, size in case of files, + 7: UserID owner, + 8: ProgressType type, + 9: optional DownloadProgress download //only given when progress type download } // download info for specific file |