1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-05 06:58:27 +02:00
gmenu2x/src/launcher.h
Maarten ter Huurne 303ecf298a Moved console bind+activate code into Launcher
This way, we can launch console applications from the Explorer.
2014-08-08 02:04:05 +02:00

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