From b78e171537fe8cc227521bb6b12bfb923a248f08 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 16 Sep 2021 10:56:37 +0200 Subject: replace txt export support with specific txyz export --- afdnotebook.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'afdnotebook.h') diff --git a/afdnotebook.h b/afdnotebook.h index 645d002..9f8886d 100644 --- a/afdnotebook.h +++ b/afdnotebook.h @@ -56,8 +56,6 @@ public: QStringList strokeFiles(const QString &penSerial, int page) const; - bool readStrokes(const QString &penSerial, int page, StfReader::StrokeHandler *handler); - private: struct Gfx { QString basename; @@ -72,10 +70,15 @@ private: QString file; quint64 begin; quint64 end; + + static bool CompareByBeginTime(const StrokeData &a, const StrokeData &b) { + return a.begin < b.begin; + } }; struct PenData { - QMultiMap strokes; + // pageNum -> List of Strokes + QMap> strokes; }; private: -- cgit v1.2.3