Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 740 Bytes

unit.h

File metadata and controls

30 lines (21 loc) · 740 Bytes
 
May 20, 2014
May 20, 2014
1
2
#ifndef _CUTES_UNIT_HPP_
#define _CUTES_UNIT_HPP_
May 20, 2014
May 20, 2014
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
*/
May 20, 2014
May 20, 2014
10
May 20, 2014
May 20, 2014
11
#include <memory>
Nov 14, 2019
Nov 14, 2019
12
#include <QString>
Aug 19, 2019
Aug 19, 2019
13
14
#include <QVariantMap>
Oct 7, 2014
Oct 7, 2014
15
namespace qtaround { namespace sys { class GetOpt; }}
May 20, 2014
May 20, 2014
16
17
18
namespace vault { namespace unit {
Oct 7, 2014
Oct 7, 2014
19
20
typedef std::unique_ptr<qtaround::sys::GetOpt> options_uptr;
options_uptr getopt();
May 20, 2014
May 20, 2014
21
Oct 7, 2014
Oct 7, 2014
22
int execute(options_uptr, QVariantMap const &info);
May 20, 2014
May 20, 2014
23
Nov 14, 2019
Nov 14, 2019
24
25
26
27
int execute(QVariantMap const &info);
int runProcess(const QString &program, const QStringList &args);
May 20, 2014
May 20, 2014
28
29
30
}}
#endif // _CUTES_UNIT_HPP_