From 3ac113857071fc1f225b2e1b42547269e568c6b7 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 11 Aug 2020 22:35:12 +0100 Subject: New upstream version 2.2.4.4 --- Core.h | 11 +++++++++++ 1 file changed, 11 insertions(+) mode change 100644 => 100755 Core.h (limited to 'Core.h') diff --git a/Core.h b/Core.h old mode 100644 new mode 100755 index cd8733e..8b40ae3 --- a/Core.h +++ b/Core.h @@ -14,6 +14,10 @@ #include #include #include +#ifndef NOAUDIO +#include +#include +#endif #include "Environment.h" #include "StructEnumDefinition.h" @@ -64,6 +68,7 @@ class Core : public QObject std::string collisionAction; std::string errorAction; bool isPaused; + bool havePause; bool isRunning; Ultracopier::CopyType type; Ultracopier::TransferListOperation transferListOperation; @@ -129,6 +134,12 @@ class Core : public QObject LogThread log;///< To save the log like mkpath, rmpath, error, copy, ... uint64_t realByteTransfered; + #ifndef NOAUDIO + QBuffer buffer; + QAudioOutput *audio; + std::string soundFile; + #endif + static uint8_t fileCatNumber(uint64_t size); signals: void copyFinished(const uint32_t & orderId,bool withError) const; -- cgit v1.2.3