added JSon api for file control

This commit is contained in:
csoler 2019-01-06 20:56:57 +01:00
parent 9e63467aba
commit ba57ddfef9
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -329,6 +329,12 @@ public:
*/
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;
/**