summaryrefslogtreecommitdiffstats
path: root/src/imitatepass.h
diff options
context:
space:
mode:
authortezeb <tezeb+github@outoftheblue.pl>2017-01-10 00:16:05 +0100
committertezeb <tezeb+github@outoftheblue.pl>2017-01-10 00:16:05 +0100
commitc3f44c2cd1adb36013cc54638e1fd507d5121ad5 (patch)
tree391451bbefb8e2c2c0a3990b018212d49de983c5 /src/imitatepass.h
parent0ce664c977155f70ccd6916faae92e945acf4a6d (diff)
fix interface for pass
Diffstat (limited to 'src/imitatepass.h')
-rw-r--r--src/imitatepass.h14
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() {}