DSCAnalysisTool/src/data/filemanager.h

28 lines
408 B
C
Raw Normal View History

2025-03-17 09:30:54 +00:00
#ifndef FILE_MANAGER_H
#define FILE_MANAGER_H
#include <QString>
#include <QFile>
#include "protocol.h"
namespace FileManager{
2025-03-17 13:16:16 +00:00
struct ExpeInfo
{
QString sampleName;
float sampleWeight;
QString date;
QString userName;
};
2025-03-17 13:35:08 +00:00
extern ExpeInfo _expeInfo;
extern QFile _expeFile;
2025-03-17 13:16:16 +00:00
2025-03-17 13:35:08 +00:00
void createExperimentFile();
2025-03-17 13:16:16 +00:00
void writeExperimentFile(const CommonData&);
2025-03-18 09:28:40 +00:00
void fileClose();
2025-03-17 09:30:54 +00:00
void test();
};
#endif