From e297dbd8052ef4e66f069e2dd1865ae7fa8af28e Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 21 Mar 2013 11:01:59 +0100 Subject: Imported Upstream version 0.3.1.0 --- interface/PluginInterface_CopyEngine.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'interface/PluginInterface_CopyEngine.h') diff --git a/interface/PluginInterface_CopyEngine.h b/interface/PluginInterface_CopyEngine.h index b7198f2..fad97fe 100644 --- a/interface/PluginInterface_CopyEngine.h +++ b/interface/PluginInterface_CopyEngine.h @@ -70,6 +70,9 @@ class PluginInterface_CopyEngine : public QObject * \param destination the destination to move * \return true if the move have been accepted */ virtual bool newMove(const QStringList &sources,const QString &destination) = 0; + /** \brief send the new transfer list + * \param file the transfer list */ + virtual void newTransferList(const QString &file) = 0; /** \brief to get byte read, use by Ultracopier for the speed calculation @@ -131,6 +134,10 @@ class PluginInterface_CopyEngine : public QObject /** \brief move on bottom of the list the selected item * \param ids ids is the id list of the selected items */ virtual void moveItemsOnBottom(const QList &ids) = 0; + + + /** \brief give the forced mode, to export/import transfer list */ + virtual void forceMode(const CopyMode &mode) = 0; /// \brief export the transfer list into a file virtual void exportTransferList() = 0; /// \brief import the transfer list into a file @@ -169,8 +176,11 @@ class PluginInterface_CopyEngine : public QObject * first = current transfered byte, second = byte to transfer * / void pushGeneralProgression(const quint64 &,const quint64 &); - + //when the cancel is clicked on copy engine dialog void cancelAll(); + + //when can be deleted + void canBeDeleted(); //send error occurred void error(QString path,quint64 size,QDateTime mtime,QString error); @@ -209,6 +219,6 @@ class PluginInterface_CopyEngineFactory : public QObject }; -Q_DECLARE_INTERFACE(PluginInterface_CopyEngineFactory,"first-world.info.ultracopier.PluginInterface.CopyEngineFactory/0.3.0.5"); +Q_DECLARE_INTERFACE(PluginInterface_CopyEngineFactory,"first-world.info.ultracopier.PluginInterface.CopyEngineFactory/0.3.0.10"); #endif // PLUGININTERFACE_COPYENGINE_H -- cgit v1.2.3