Root/src/launcher.h

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