mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 08:54:13 -04:00
added JSon api for file control
This commit is contained in:
parent
9e63467aba
commit
ba57ddfef9
1 changed files with 6 additions and 0 deletions
|
@ -329,6 +329,12 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual void setFreeDiskSpaceLimit(uint32_t minimumFreeMB) = 0;
|
virtual void setFreeDiskSpaceLimit(uint32_t minimumFreeMB) = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Controls file transfer
|
||||||
|
* @jsonapi{development}
|
||||||
|
* @param[in] hash file identifier
|
||||||
|
* @param[in] flags action to perform. Pict into { RS_FILE_CTRL_PAUSE, RS_FILE_CTRL_START, RS_FILE_CTRL_FORCE_CHECK } }
|
||||||
|
*/
|
||||||
virtual bool FileControl(const RsFileHash& hash, uint32_t flags) = 0;
|
virtual bool FileControl(const RsFileHash& hash, uint32_t flags) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue