Improving KOReader sync
This commit is contained in:
@@ -50,6 +50,8 @@ struct SyncResult {
|
||||
int page = 0; // estimated page (fallback)
|
||||
uint16_t paragraphIndex = 0; // 1-based <p> index from XPath
|
||||
bool hasParagraphIndex = false; // true when paragraphIndex is available
|
||||
uint16_t listItemIndex = 0; // running <li> count when XPath ends in /li[N]
|
||||
bool hasListItemIndex = false; // true when listItemIndex is available
|
||||
};
|
||||
|
||||
enum class NetworkMode;
|
||||
|
||||
Reference in New Issue
Block a user