libreoffice-online/ios/ios.mm
Tor Lillqvist 75a3ab02ca Add an iOS setting for the user's name or nickname
Used for comments added to documents by the user.

The setting, like templateListURL, can be set through a mobile device
management system.

There is no trivial way on iOS for an app to programmatically find out
the name of the user, and that is good from a privacy point of view.

Fixes https://github.com/CollaboraOnline/online/issues/1843

Change-Id: Ie68fcbacf886ec8f1c74021a71879b38d4180c15
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-04-08 00:37:05 +03:00

22 lines
576 B
Text

// -*- 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/.
#include "ios.h"
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
extern "C" {
#import <native-code.h>
}
const char *user_name = nullptr;
int loolwsd_server_socket_fd = -1;
LibreOfficeKit *lo_kit;
// vim:set shiftwidth=4 softtabstop=4 expandtab: