aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/browser
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-15 19:18:19 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitded8cdf0a092894781bb4d93f2d1e9d061878ea1 (patch)
tree138590d9e47b22e28236f833b7bbf0e840c9dfde /backends/networking/browser
parent40dfb0b4f17590100b4dcfe212ee3f34369d788e (diff)
downloadscummvm-rg350-ded8cdf0a092894781bb4d93f2d1e9d061878ea1.tar.gz
scummvm-rg350-ded8cdf0a092894781bb4d93f2d1e9d061878ea1.tar.bz2
scummvm-rg350-ded8cdf0a092894781bb4d93f2d1e9d061878ea1.zip
CLOUD: Add openurl-android.cpp
Diffstat (limited to 'backends/networking/browser')
-rw-r--r--backends/networking/browser/openurl-android.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/backends/networking/browser/openurl-android.cpp b/backends/networking/browser/openurl-android.cpp
new file mode 100644
index 0000000000..98fc803c0d
--- /dev/null
+++ b/backends/networking/browser/openurl-android.cpp
@@ -0,0 +1,35 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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
+ * of the License, 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; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#include "backends/networking/browser/openurl.h"
+#include "backends/platform/android/jni.h"
+
+namespace Networking {
+namespace Browser {
+
+bool openUrl(const Common::String &url) {
+ return JNI::openUrl(url.c_str());
+}
+
+} // End of namespace Browser
+} // End of namespace Networking
+