JNIKiwixReader ctor taking a file descriptor

... and a corresponding unit test
This commit is contained in:
Veloman Yunkan
2020-11-29 23:38:34 +04:00
committed by Emmanuel Engelhart
parent 98d69ef59b
commit 4d23e44de7
5 changed files with 69 additions and 1 deletions

View File

@ -55,7 +55,8 @@ class Reader
* unsplitted path as if the file were not splitted
* (.zim extesion).
*/
Reader(const string zimFilePath);
explicit Reader(const string zimFilePath);
explicit Reader(int fd);
~Reader() = default;
/**