summaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/FacilityInterface.h3
-rw-r--r--interface/PluginInterface_CopyEngine.h4
-rw-r--r--interface/PluginInterface_Listener.h2
-rw-r--r--interface/PluginInterface_PluginLoader.h2
-rw-r--r--interface/PluginInterface_SessionLoader.h2
-rw-r--r--interface/PluginInterface_Themes.h6
6 files changed, 14 insertions, 5 deletions
diff --git a/interface/FacilityInterface.h b/interface/FacilityInterface.h
index b64733b..1fd5366 100644
--- a/interface/FacilityInterface.h
+++ b/interface/FacilityInterface.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
#include <QObject>
+#include <QBuffer>
#include "../StructEnumDefinition.h"
@@ -41,6 +42,8 @@ class FacilityInterface : public QObject
virtual std::string softwareName() const = 0;
/// \brief return if is ultimate
virtual bool isUltimate() const = 0;
+ /// \brief return audio if created from opus file, nullptr if failed
+ virtual void/*casted to #ifndef QAudioOutput*/* prepareOpusAudio(const std::string &file,QBuffer &buffer) const = 0;
};
#endif // FACILITY_INTERFACE_H
diff --git a/interface/PluginInterface_CopyEngine.h b/interface/PluginInterface_CopyEngine.h
index e6a243f..86b17b8 100644
--- a/interface/PluginInterface_CopyEngine.h
+++ b/interface/PluginInterface_CopyEngine.h
@@ -193,6 +193,8 @@ class PluginInterface_CopyEngineFactory : public QObject
virtual std::vector<std::string> supportedProtocolsForTheDestination() const = 0;
/// \brief to get the options of the copy engine
virtual QWidget * options() = 0;
+ /// \brief to get if have pause
+ virtual bool havePause() = 0;
public slots:
/// \brief to reset the options
virtual void resetOptions() = 0;
@@ -204,7 +206,7 @@ class PluginInterface_CopyEngineFactory : public QObject
};
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-Q_DECLARE_INTERFACE(PluginInterface_CopyEngineFactory,"first-world.info.ultracopier.PluginInterface.CopyEngineFactory/1.2.4.0");
+Q_DECLARE_INTERFACE(PluginInterface_CopyEngineFactory,"first-world.info.ultracopier.PluginInterface.CopyEngineFactory/2.0.0.0");
#endif
#endif // PLUGININTERFACE_COPYENGINE_H
diff --git a/interface/PluginInterface_Listener.h b/interface/PluginInterface_Listener.h
index bd278e4..e1ee026 100644
--- a/interface/PluginInterface_Listener.h
+++ b/interface/PluginInterface_Listener.h
@@ -52,7 +52,7 @@ class PluginInterface_Listener : public QObject
};
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-Q_DECLARE_INTERFACE(PluginInterface_Listener,"first-world.info.ultracopier.PluginInterface.Listener/1.2.4.0");
+Q_DECLARE_INTERFACE(PluginInterface_Listener,"first-world.info.ultracopier.PluginInterface.Listener/2.0.0.0");
#endif
#endif // PLUGININTERFACE_LISTENER_H
diff --git a/interface/PluginInterface_PluginLoader.h b/interface/PluginInterface_PluginLoader.h
index 6b5742c..aa38b9a 100644
--- a/interface/PluginInterface_PluginLoader.h
+++ b/interface/PluginInterface_PluginLoader.h
@@ -35,7 +35,7 @@ class PluginInterface_PluginLoader : public QObject
};
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-Q_DECLARE_INTERFACE(PluginInterface_PluginLoader,"first-world.info.ultracopier.PluginInterface.PluginLoader/1.2.4.0");
+Q_DECLARE_INTERFACE(PluginInterface_PluginLoader,"first-world.info.ultracopier.PluginInterface.PluginLoader/2.0.0.0");
#endif
#endif // PLUGININTERFACE_PLUGINLOADER_H
diff --git a/interface/PluginInterface_SessionLoader.h b/interface/PluginInterface_SessionLoader.h
index 2361505..10ed856 100644
--- a/interface/PluginInterface_SessionLoader.h
+++ b/interface/PluginInterface_SessionLoader.h
@@ -35,7 +35,7 @@ class PluginInterface_SessionLoader : public QObject
};
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-Q_DECLARE_INTERFACE(PluginInterface_SessionLoader,"first-world.info.ultracopier.PluginInterface.SessionLoader/1.2.4.0");
+Q_DECLARE_INTERFACE(PluginInterface_SessionLoader,"first-world.info.ultracopier.PluginInterface.SessionLoader/2.0.0.0");
#endif
#endif // PLUGININTERFACE_SESSIONLOADER_H
diff --git a/interface/PluginInterface_Themes.h b/interface/PluginInterface_Themes.h
index 73045ed..2bce397 100644
--- a/interface/PluginInterface_Themes.h
+++ b/interface/PluginInterface_Themes.h
@@ -47,6 +47,8 @@ class PluginInterface_Themes : public QWidget
virtual void setGeneralProgression(const uint64_t &current,const uint64_t &total) = 0;
/// \brief show the file progression
virtual void setFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList) = 0;
+ /// to get by file speed, size and ms
+ virtual void doneTime(const std::vector<std::pair<uint64_t,uint32_t> > &timeList) = 0;
public:
/// \brief get the widget for the copy engine
virtual QWidget * getOptionsEngineWidget() = 0;
@@ -63,6 +65,8 @@ class PluginInterface_Themes : public QWidget
virtual void haveExternalOrder() = 0;
/// \brief set if is in pause
virtual void isInPause(const bool &isInPause) = 0;
+ /// \brief set if is in pause
+ virtual void havePause(const bool &havePause) = 0;
// signal to implement
signals:
//set the transfer list
@@ -111,7 +115,7 @@ class PluginInterface_ThemesFactory : public QObject
};
#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE
-Q_DECLARE_INTERFACE(PluginInterface_ThemesFactory,"first-world.info.ultracopier.PluginInterface.ThemesFactory/1.2.4.0");
+Q_DECLARE_INTERFACE(PluginInterface_ThemesFactory,"first-world.info.ultracopier.PluginInterface.ThemesFactory/2.0.0.0");
#endif
#endif // PLUGININTERFACE_THEMES_H