diff -r 68ef2cc3e8d2 -r c5f6f3f1b714 src/global.h --- a/src/global.h Wed Jan 18 17:08:25 2023 +0100 +++ b/src/global.h Fri Jan 20 16:44:08 2023 +0100 @@ -237,6 +237,16 @@ }; +struct Images +{ + int pic_type; + QByteArray pic_data; + QString pic_comment; + QString filename; + QDateTime timestamp; +}; + + struct Equipment { QString name; @@ -687,6 +697,10 @@ double ws_sodium; double ws_magnesium; double ws_total_alkalinity; + QList images_list; ///< List of loaded images. + int images_count; ///< -1 if not yet loaded. + int images_current; ///< -1 or image in focus. + bool images_dirty; };