libquentier 0.8.0
The library for rich desktop clients of Evernote service
|
Options for synchronization process. More...
#include <ISyncOptions.h>
Public Member Functions | |
virtual bool | downloadNoteThumbnails () const =0 |
virtual std::optional< QDir > | inkNoteImagesStorageDir () const =0 |
virtual qevercloud::IRequestContextPtr | requestContext () const =0 |
virtual qevercloud::IRetryPolicyPtr | retryPolicy () const =0 |
virtual std::optional< quint32 > | maxConcurrentNoteDownloads () const =0 |
virtual std::optional< quint32 > | maxConcurrentResourceDownloads () const =0 |
![]() | |
virtual QTextStream & | print (QTextStream &strm) const =0 |
QString | toString () const |
Options for synchronization process.
Flag to enable or disable downloading of note thumbnails during the sync. Note thumbnails are stored inside the local storage along with other note data.
|
pure virtual |
Directory to store the downloaded ink note images. If this method returns std::nullopt, ink note images would not be downloaded during the sync.
Ink notes images data is stored inside note's resources but the format of the data is not documented, which makes it quite hard to implement note editor able to fully handle ink notes. An easier option is to visualize a static image corresponding to the last revision of the ink note. Such images need to be downloaded separately during the sync if they are required.
Ink note images are stored right in this directory without any subdirectories, file names correspond to pattern <resource guid>.png.
|
pure virtual |
Maximal number of concurrent note downloads. Allowing unlimited concurrent note downloads can lead to errors due to reaching the platform's limit on the number of open files. If std::nullopt is returned, the default limit is used.
|
pure virtual |
Maximal number of concurrent resource downloads. Allowing unlimited concurrent resource downloads can lead to errors due to reaching the platform's limit on the number of open files. If std::nullopt is returned, the default limit is used.
|
pure virtual |
Request context with settings which should be used during the sync. If nullptr then request context with default settings would be used.
|
pure virtual |
Retry policy which should be used during the sync. If nullptr then the default retry policy would be used.