unit.h 567 Bytes
Newer Older
Denis Zalevskiy's avatar
Denis Zalevskiy committed
1 2
#ifndef _CUTES_UNIT_HPP_
#define _CUTES_UNIT_HPP_
3 4 5 6 7 8 9
/**
 * @file unit.hpp
 * @brief Vault unit option parsing and file export/import support
 * @author Denis Zalevskiy <denis.zalevskiy@jolla.com>
 * @copyright (C) 2014 Jolla Ltd.
 * @par License: LGPL 2.1 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
 */
Denis Zalevskiy's avatar
Denis Zalevskiy committed
10

11
#include <QString>
12 13
#include <QVariantMap>

Denis Zalevskiy's avatar
Denis Zalevskiy committed
14 15
namespace vault { namespace unit {

16 17 18 19
int execute(QVariantMap const &info);

int runProcess(const QString &program, const QStringList &args);

20
QString optValue(const QString &arg);
Denis Zalevskiy's avatar
Denis Zalevskiy committed
21 22 23
}}

#endif // _CUTES_UNIT_HPP_