diff options
author | tezeb <tezeb+github@outoftheblue.pl> | 2017-01-10 00:16:05 +0100 |
---|---|---|
committer | tezeb <tezeb+github@outoftheblue.pl> | 2017-01-10 00:16:05 +0100 |
commit | c3f44c2cd1adb36013cc54638e1fd507d5121ad5 (patch) | |
tree | 391451bbefb8e2c2c0a3990b018212d49de983c5 /src/imitatepass.h | |
parent | 0ce664c977155f70ccd6916faae92e945acf4a6d (diff) |
fix interface for pass
Diffstat (limited to 'src/imitatepass.h')
-rw-r--r-- | src/imitatepass.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/imitatepass.h b/src/imitatepass.h index 0f6f25b6..1340e140 100644 --- a/src/imitatepass.h +++ b/src/imitatepass.h @@ -12,15 +12,15 @@ class ImitatePass : public Pass { bool removeDir(const QString &dirName); - void executeWrapper(int id, const QString &app, const QStringList &args, - bool readStdout = true, bool readStderr = true); - - void executeWrapper(int id, const QString &app, const QStringList &args, - QString input, bool readStdout = true, - bool readStderr = true); - void GitCommit(const QString &file, const QString &msg); + void executeGit(PROCESS id, const QStringList &args, + QString input = QString(), bool readStdout = true, + bool readStderr = true); + void executeGpg(PROCESS id, const QStringList &args, + QString input = QString(), bool readStdout = true, + bool readStderr = true); + public: ImitatePass(); virtual ~ImitatePass() {} |