aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2017-11-30 19:58:22 -0800
committerLukas Rusak <lorusak@gmail.com>2017-11-30 20:19:10 -0800
commit1b21b867b0396d02dec89d4be470354d1752243b (patch)
treea05cc22d474be489ae524bdb6a0d439a775aab1e
parentce29e7cc63f53153b27ed1e154f5cf4b8a133b1a (diff)
Retroplayer: add RPProcessInfoGbm
-rw-r--r--xbmc/cores/RetroPlayer/process/gbm/CMakeLists.txt5
-rw-r--r--xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.cpp34
-rw-r--r--xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.h35
3 files changed, 74 insertions, 0 deletions
diff --git a/xbmc/cores/RetroPlayer/process/gbm/CMakeLists.txt b/xbmc/cores/RetroPlayer/process/gbm/CMakeLists.txt
new file mode 100644
index 0000000000..905b3ba60c
--- /dev/null
+++ b/xbmc/cores/RetroPlayer/process/gbm/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(SOURCES RPProcessInfoGbm.cpp)
+
+set(HEADERS RPProcessInfoGbm.h)
+
+core_add_library(rp-process-gbm)
diff --git a/xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.cpp b/xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.cpp
new file mode 100644
index 0000000000..53dd410200
--- /dev/null
+++ b/xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.cpp
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2017 Team Kodi
+ * http://kodi.tv
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this Program; see the file COPYING. If not, see
+ * <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include "RPProcessInfoGbm.h"
+
+using namespace KODI;
+using namespace RETRO;
+
+CRPProcessInfo* CRPProcessInfoGbm::Create()
+{
+ return new CRPProcessInfoGbm();
+}
+
+void CRPProcessInfoGbm::Register()
+{
+ CRPProcessInfo::RegisterProcessControl(CRPProcessInfoGbm::Create);
+}
diff --git a/xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.h b/xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.h
new file mode 100644
index 0000000000..cae7a02194
--- /dev/null
+++ b/xbmc/cores/RetroPlayer/process/gbm/RPProcessInfoGbm.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2017 Team Kodi
+ * http://kodi.tv
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this Program; see the file COPYING. If not, see
+ * <http://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+#include "cores/RetroPlayer/process/RPProcessInfo.h"
+
+namespace KODI
+{
+namespace RETRO
+{
+ class CRPProcessInfoGbm : public CRPProcessInfo
+ {
+ public:
+ static CRPProcessInfo* Create();
+ static void Register();
+ };
+}
+}