LibreOffice Module shell (master) 1
shellexec_em.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
24#include <emscripten.h>
25
26void execute_browser(const char* sUrl) { EM_ASM("window.open(UTF8ToString($0));", sUrl); }
27
28/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void execute_browser(const char *sUrl)
Some of our templating stuff clashes with EM_ASM / MAIN_THREAD_EM_ASM: