1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-10-04 02:53:15 +03: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