2022-11-11 07:26:34 -06:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
|
|
|
|
/*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
2022-11-28 08:46:32 -06:00
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include <chrono>
|
|
|
|
#include <thread>
|
|
|
|
|
|
|
|
#include <FakeSocket.hpp>
|
|
|
|
#include <Kit.hpp>
|
|
|
|
#include <Log.hpp>
|
|
|
|
#include <COOLWSD.hpp>
|
|
|
|
#include <Protocol.hpp>
|
|
|
|
#include <SetupKitEnvironment.hpp>
|
|
|
|
#include <Util.hpp>
|
|
|
|
|
2022-12-13 04:12:59 -06:00
|
|
|
#include <LibreOfficeKit/LibreOfficeKit.hxx>
|
2022-11-28 08:46:32 -06:00
|
|
|
#include <Poco/Base64Encoder.h>
|
|
|
|
|
|
|
|
#ifdef __EMSCRIPTEN__
|
|
|
|
#include <emscripten.h>
|
|
|
|
#include <emscripten/bind.h>
|
|
|
|
#include <emscripten/html5.h>
|
|
|
|
#include <emscripten/val.h>
|
|
|
|
#endif
|
|
|
|
|
2022-11-11 07:26:34 -06:00
|
|
|
extern int coolwsd_server_socket_fd;
|
2022-11-28 08:46:32 -06:00
|
|
|
|
|
|
|
extern const char* user_name;
|
2022-11-11 07:26:34 -06:00
|
|
|
|
2022-12-28 07:43:57 -06:00
|
|
|
extern "C" void handle_cool_message(const char *string_value);
|
|
|
|
|
2022-11-11 07:26:34 -06:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|