-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wrapper for gpg and git
- Loading branch information
Janosch Knack
committed
Dec 1, 2016
1 parent
8b01b81
commit 7a90685
Showing
7 changed files
with
179 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -314,3 +314,29 @@ QString Pass::getRecipientString(QString for_file, QString separator, | |
recipients_str += separator + '"' + recipient + '"'; | ||
return recipients_str; | ||
} | ||
|
||
/** | ||
* @brief Pass::executePass easy wrapper for running pass | ||
* @param args | ||
*/ | ||
void Pass::executePass(QString args, QString input) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
YoshiMan
|
||
executeWrapper(QtPassSettings::getPassExecutable(), args, input); | ||
} | ||
|
||
/** | ||
* @brief Pass::executeGpg easy wrapper for running gpg commands | ||
* @param args | ||
*/ | ||
void Pass::executeGpg(QString args, QString input) | ||
{ | ||
executeWrapper(QtPassSettings::getGpgExecutable(), args, input); | ||
} | ||
/** | ||
* @brief Pass::executeGit easy wrapper for running git commands | ||
* @param args | ||
*/ | ||
void Pass::executeGit(QString args, QString input) { | ||
executeWrapper(QtPassSettings::getGitExecutable(), args, input); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
I don't think that's the correct place for this method(same for next two). It breaks interface, as they might be called from inside subclasses(ie. we can call it from ImitatePass, so what kind of imitation that would be?).