summaryrefslogtreecommitdiff
path: root/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'actions.cpp')
-rwxr-xr-xactions.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/actions.cpp b/actions.cpp
new file mode 100755
index 0000000..23f4353
--- /dev/null
+++ b/actions.cpp
@@ -0,0 +1,29 @@
+#include "actions.h"
+
+
+
+using namespace std;
+
+
+
+cActions::cActions()
+{}
+
+
+
+cActions::~cActions()
+{}
+
+
+
+void cActions::Play(string RomName)
+{
+ //Generate the shell-command and execute it
+ stringstream Command;
+ Command << "vdr-mame-launch.sh ";
+ Command << g_MameSetup.GeneralStopVDR << " " << g_MameSetup.PathRom << " " << RomName << " &";
+
+ SystemExec(Command.str().c_str());
+}
+
+