summaryrefslogtreecommitdiff
path: root/interface/PluginInterface_CopyEngine.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
commite297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch)
tree342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /interface/PluginInterface_CopyEngine.h
parent8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff)
Imported Upstream version 0.3.1.0
Diffstat (limited to 'interface/PluginInterface_CopyEngine.h')
-rw-r--r--interface/PluginInterface_CopyEngine.h14
1 files changed, 12 insertions, 2 deletions
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<int> &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