Update LogHandler.h

added share functionality

Signed-off-by: rohithzmoi <166651631+rohithzmoi@users.noreply.github.com>
This commit is contained in:
rohithzmoi 2024-09-07 14:44:45 +05:30 committed by GitHub
parent 6320f073e0
commit 220265669a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -32,10 +32,11 @@ public:
Q_INVOKABLE QJsonArray loadLog(const QString &fileName);
Q_INVOKABLE bool clearLog(const QString &fileName);
Q_INVOKABLE bool exportLogToCsv(const QString &fileName, const QJsonArray &logData);
Q_INVOKABLE QString getDSLogPath() const; // Updated function name
Q_INVOKABLE QString getFriendlyPath(const QString &path) const; // Mark as Q_INVOKABLE
Q_INVOKABLE QString getDSLogPath() const;
Q_INVOKABLE QString getFriendlyPath(const QString &path) const;
Q_INVOKABLE bool exportLogToAdif(const QString &fileName, const QJsonArray &logData);
Q_INVOKABLE void shareFile(const QString &filePath);
void shareFileDirectly(const QString &filePath);
private: