aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/logview/LogFile.h')
-rw-r--r--src/modules/logview/LogFile.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/modules/logview/LogFile.h b/src/modules/logview/LogFile.h
index 9b4984aa7..eb0b4ce64 100644
--- a/src/modules/logview/LogFile.h
+++ b/src/modules/logview/LogFile.h
@@ -143,7 +143,16 @@ public:
* \param szText The buffer where to save the contents of the log
* \return void
*/
- void getText(QString & szText);
+ void getText(QString & szText) const;
+
+ /**
+ * \brief Exports the log and creates the file in the selected format
+ * \param exportType The type of file to export the log as. Either PlainText or HTML.
+ * \param szLog The absolute path of the file to be created
+ * \param pszFile The buffer to store the exported log name
+ * \return void
+ */
+ void createLog(ExportType exportType, QString szLog, QString * pszFile = nullptr) const;
};
#endif // _LOGFILE_H_