mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 06:37:38 +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 endPage;
|
||||
};
|
||||
|
||||
//new struct
|
||||
struct ChapterData {
|
||||
int chapterIndex; // 章节序号
|
||||
uint16_t startPage; // 字节偏移量
|
||||
char shortTitle[64]; // 截取后的标题,char数组格式
|
||||
int chapterIndex;
|
||||
uint16_t startPage;
|
||||
char shortTitle[64];
|
||||
};
|
||||
|
||||
// Error codes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user