/* 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 3 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, see . * */ #ifdef EMSCRIPTEN #define FORBIDDEN_SYMBOL_EXCEPTION_asctime #define FORBIDDEN_SYMBOL_EXCEPTION_clock #define FORBIDDEN_SYMBOL_EXCEPTION_ctime #define FORBIDDEN_SYMBOL_EXCEPTION_difftime #define FORBIDDEN_SYMBOL_EXCEPTION_FILE #define FORBIDDEN_SYMBOL_EXCEPTION_getdate #define FORBIDDEN_SYMBOL_EXCEPTION_gmtime #define FORBIDDEN_SYMBOL_EXCEPTION_localtime #define FORBIDDEN_SYMBOL_EXCEPTION_mktime #define FORBIDDEN_SYMBOL_EXCEPTION_strcpy #define FORBIDDEN_SYMBOL_EXCEPTION_strdup #define FORBIDDEN_SYMBOL_EXCEPTION_time #include "backends/networking/http/emscripten/connectionmanager-emscripten.h" #include "common/debug.h" #include namespace Common { template<> Networking::ConnectionManager *Singleton::makeInstance() { return new Networking::ConnectionManagerEmscripten(); } } // namespace Common namespace Networking { void ConnectionManagerEmscripten::processTransfers() { // Emscripten handles transfers asynchronously via callbacks // No action needed here } } // End of namespace Networking #endif // EMSCRIPTEN