define file for update log
This commit is contained in:
		@@ -6,6 +6,7 @@
 | 
			
		||||
#include <QStatusBar>
 | 
			
		||||
#include <QVector>
 | 
			
		||||
#include <QString>
 | 
			
		||||
#include <QProgressBar>
 | 
			
		||||
 | 
			
		||||
QT_BEGIN_NAMESPACE
 | 
			
		||||
namespace Ui { class MainWindow; }
 | 
			
		||||
@@ -39,6 +40,7 @@ public:
 | 
			
		||||
    void setUpdateStep(UpdateDcEvent::UpdateStep updateStep) { m_updateStep = updateStep; }
 | 
			
		||||
 | 
			
		||||
    QString targetDcVersion() {return  m_targetDcVersion; }
 | 
			
		||||
    QProgressBar *progressBar();
 | 
			
		||||
 | 
			
		||||
public slots:
 | 
			
		||||
    void onAppendText(QString, QString suffix = "");
 | 
			
		||||
@@ -69,6 +71,7 @@ public slots:
 | 
			
		||||
    void onSetDcDownloadProgress(int);
 | 
			
		||||
    void onShowSummary(QString);
 | 
			
		||||
    void onSummary();
 | 
			
		||||
    void onFileChanged(QString const&);
 | 
			
		||||
#if EMERGENCY_LEAVE_BL==1
 | 
			
		||||
    void emergencyLeaveBL();
 | 
			
		||||
#endif
 | 
			
		||||
@@ -103,5 +106,6 @@ private:
 | 
			
		||||
 | 
			
		||||
    QVector<QString> m_updateSteps{};
 | 
			
		||||
 | 
			
		||||
    QFile m_updateLog;
 | 
			
		||||
};
 | 
			
		||||
#endif // MAINWINDOW_H
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user