aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/browser/openurl.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-14 12:26:10 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit990dee3c4fafdf58a3c8b2ecc08b4c6d44887ad8 (patch)
treef0da76ad275840a5fcd40374fd949fa68997d7e0 /backends/networking/browser/openurl.h
parentdfd68306de6f655a7bd2c68cea0b9299956ce8fc (diff)
downloadscummvm-rg350-990dee3c4fafdf58a3c8b2ecc08b4c6d44887ad8.tar.gz
scummvm-rg350-990dee3c4fafdf58a3c8b2ecc08b4c6d44887ad8.tar.bz2
scummvm-rg350-990dee3c4fafdf58a3c8b2ecc08b4c6d44887ad8.zip
CLOUD: Add Networking::Browser::openUrl() sketch
Only Windows' shellExecute() now.
Diffstat (limited to 'backends/networking/browser/openurl.h')
-rw-r--r--backends/networking/browser/openurl.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/backends/networking/browser/openurl.h b/backends/networking/browser/openurl.h
new file mode 100644
index 0000000000..fe2f452f62
--- /dev/null
+++ b/backends/networking/browser/openurl.h
@@ -0,0 +1,36 @@
+/* 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.
+ *
+ */
+
+#ifndef NETWORKING_BROWSER_OPENURL_H
+#define NETWORKING_BROWSER_OPENURL_H
+
+#include "common/str.h"
+
+namespace Networking {
+namespace Browser {
+
+bool openUrl(const Common::String &url);
+
+} // End of namespace Browser
+} // End of namespace Networking
+
+#endif /*NETWORKING_BROWSER_OPENURL_H*/