mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
24 lines
373 B
C++
24 lines
373 B
C++
#ifndef LAUNCHER_H
|
|
#define LAUNCHER_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
class Launcher
|
|
{
|
|
public:
|
|
Launcher(std::vector<std::string> const& commandLine,
|
|
bool consoleApp = true);
|
|
Launcher(std::vector<std::string> && commandLine,
|
|
bool consoleApp = true);
|
|
|
|
void exec();
|
|
|
|
private:
|
|
std::vector<std::string> commandLine;
|
|
bool consoleApp;
|
|
};
|
|
|
|
#endif // LAUNCHER_H
|