Commit f12e601c authored by Raine Makelainen's avatar Raine Makelainen

Merge branch 'jb48218' into 'master'

[vault] Reduce qtaround usage. Fixes JB#49328

See merge request !14
parents 2bbd9a4c d813b782
This diff is collapsed.
...@@ -8,25 +8,16 @@ ...@@ -8,25 +8,16 @@
* @par License: LGPL 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html * @par License: LGPL 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
*/ */
#include <memory>
#include <QString> #include <QString>
#include <QVariantMap> #include <QVariantMap>
namespace qtaround { namespace sys { class GetOpt; }}
namespace vault { namespace unit { namespace vault { namespace unit {
typedef std::unique_ptr<qtaround::sys::GetOpt> options_uptr;
options_uptr getopt();
int execute(options_uptr, QVariantMap const &info);
int execute(QVariantMap const &info); int execute(QVariantMap const &info);
int runProcess(const QString &program, const QStringList &args); int runProcess(const QString &program, const QStringList &args);
QString optValue(const QString &arg); QString optValue(const QString &arg);
}} }}
#endif // _CUTES_UNIT_HPP_ #endif // _CUTES_UNIT_HPP_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment