diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-17 21:28:10 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-17 21:28:10 +0100 |
commit | c19a05c355760e1e0782ccb434eae4459baaf4cd (patch) | |
tree | 0e166b6917261101bb38fe35cb3bb072ee9923fb /module/remote/pyload.thrift | |
parent | updated lots of libraries (diff) | |
download | pyload-c19a05c355760e1e0782ccb434eae4459baaf4cd.tar.xz |
small api changes
Diffstat (limited to 'module/remote/pyload.thrift')
-rw-r--r-- | module/remote/pyload.thrift | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift index 902c01534..0c4eea9c4 100644 --- a/module/remote/pyload.thrift +++ b/module/remote/pyload.thrift @@ -33,7 +33,7 @@ enum DownloadStatus { } // Download states, combination of several downloadstatuses -// defined in Filedatabase +// defined in Api enum DownloadState { All, Finished, @@ -68,10 +68,13 @@ enum PackageStatus { // types for user interaction // some may only be place holder currently not supported // also all input - output combination are not reasonable, see InteractionManager for further info -// Todo: how about: time, int, ip, file, s.o. +// Todo: how about: time, ip, s.o. enum Input { NA, Text, + Int, + File, + Folder, Textbox, Password, Bool, // confirm like, yes or no dialog @@ -126,6 +129,7 @@ struct ProgressInfo { 8: optional DownloadProgress download } +# TODO: Maybe more are needed? Should be simple values struct ServerStatus { 1: bool pause, 2: i16 active, @@ -328,6 +332,7 @@ service Pyload { /////////////////////// string getServerVersion(), + string getWSAddress(), ServerStatus statusServer(), void pauseServer(), void unpauseServer(), @@ -340,9 +345,6 @@ service Pyload { bool isTimeReconnect(), bool toggleReconnect(), - // TODO - //void scanDownloadFolder(), - list<ProgressInfo> getProgressInfo(), /////////////////////// |