Index: sources/storage/TreatmentLog.h =================================================================== diff -u -r7b34653589ba6e4f4705fb4026fcd9319c41c352 -r51a16e937898f4aec639e9dc5ff33bd0d67bf4ab --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 7b34653589ba6e4f4705fb4026fcd9319c41c352) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 51a16e937898f4aec639e9dc5ff33bd0d67bf4ab) @@ -61,7 +61,23 @@ QString _unitTextDispencingRate = tr("mL/hr" ); QString _unitTextBloodPressure = tr("mmHg" ); + struct TxInfo { + void clear() { + mStatus = false; + mDateTime = ""; + mDeviceID = ""; + mPatientID = ""; + mFileName = ""; + } + bool mStatus = false; + QString mDateTime = ""; + QString mDeviceID = ""; + QString mPatientID = ""; + QString mFileName = ""; + } + _lastTxInfo; + enum Role { eValue, eTitle, @@ -232,7 +248,9 @@ void doExport (); signals: - + void didTreatmentLogSave( const QString &vPatientID , + const QString &vDeviceID , + const QString &vFileName ); }; }