mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 14:47:37 +03:00
Add ChapterData struct to XtcTypes.h
Added new struct ChapterData with chapterIndex, startPage, and shortTitle fields.
This commit is contained in:
parent
9b4410cbc8
commit
38302e9865
@ -101,11 +101,11 @@ struct ChapterInfo {
|
|||||||
uint16_t startPage;
|
uint16_t startPage;
|
||||||
uint16_t endPage;
|
uint16_t endPage;
|
||||||
};
|
};
|
||||||
|
//new struct
|
||||||
struct ChapterData {
|
struct ChapterData {
|
||||||
int chapterIndex; // 章节序号
|
int chapterIndex;
|
||||||
uint16_t startPage; // 字节偏移量
|
uint16_t startPage;
|
||||||
char shortTitle[64]; // 截取后的标题,char数组格式
|
char shortTitle[64];
|
||||||
};
|
};
|
||||||
|
|
||||||
// Error codes
|
// Error codes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user