Root/src/launcher.h

Source at commit 00d3c3b57008bddf8770c51271db9d766acaf854 created 7 years 5 months ago.
By Maarten ter Huurne, Gave Layer class a protected constructor
1#ifndef LAUNCHER_H
2#define LAUNCHER_H
3
4#include <string>
5#include <vector>
6
7
8class Launcher
9{
10public:
11    Launcher(std::vector<std::string> const& commandLine,
12             bool consoleApp = true);
13    Launcher(std::vector<std::string> && commandLine,
14             bool consoleApp = true);
15
16    void exec();
17
18private:
19    std::vector<std::string> commandLine;
20    bool consoleApp;
21};
22
23#endif // LAUNCHER_H
24

Archive Download this file



interactive