summaryrefslogtreecommitdiff
path: root/CliParser.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 /CliParser.h
parent8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff)
Imported Upstream version 0.3.1.0
Diffstat (limited to 'CliParser.h')
-rw-r--r--CliParser.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/CliParser.h b/CliParser.h
index 92276c0..360f30e 100644
--- a/CliParser.h
+++ b/CliParser.h
@@ -11,6 +11,7 @@
#include <QObject>
#include <QMessageBox>
#include <QCoreApplication>
+#include <QFile>
#include "Environment.h"
@@ -25,7 +26,7 @@ public slots:
\param ultracopierArguments the argument list
\param external true if the arguments come from other instance of ultracopier
*/
- void cli(const QStringList &ultracopierArguments,const bool &external);
+ void cli(const QStringList &ultracopierArguments,const bool &external,const bool &onlyCheck);
signals:
/** new copy without destination have been pased by the CLI */
void newCopy(QStringList sources);
@@ -35,6 +36,12 @@ signals:
void newMove(QStringList sources);
/** new move with destination have been pased by the CLI */
void newMove(QStringList sources,QString destination);
+ /** new transfer list pased by the CLI */
+ void newTransferList(QString engine,QString mode,QString file);
+private:
+ /** \brief show the help
+ *\param incorrectArguments if the help is call because the arguments are wrong */
+ void showHelp(const bool &incorrectArguments=true);
};
#endif // CLIPARSER_H