office-gobmx/uui/Library_uui.mk
Matt K 95eb088802 tdf#47065 Add new file open UI options and implement a new thread
Add new UI options when opening a locked or non-writeable document
to allow the user to be notified when such a document becomes editable
.  If the user selects "Notify", then that document is added to a list
of open documents to be checked by a thread every 60 seconds for
read/write access and whether lock file is available/obtainable. If
access is allowed for a document, then show UI dialog to the user
asking to Reload that document.  If Reload is selected by the user
then that document is reloaded with read/write access.  The checking
thread is spawned only once no matter how many "Notify" documents
there are.  The thread is spawned if not already running when a new
"Notify" document is opened, and it terminates when all "Notify"
documents have been closed or the application terminates.

Also update badstatics clang plugin to ignore new global variables
introduced.

Change-Id: I7555ce6f5df79c2c87216e0129ef3b2883c7d921
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111654
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-05-27 12:31:38 +02:00

74 lines
1.8 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# 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/.
#
$(eval $(call gb_Library_Library,uui))
$(eval $(call gb_Library_set_include,uui,\
$$(INCLUDE) \
-I$(SRCDIR)/uui/inc \
))
$(eval $(call gb_Library_set_componentfile,uui,uui/util/uui))
$(eval $(call gb_Library_use_external,uui,boost_headers))
$(eval $(call gb_Library_use_custom_headers,uui,\
officecfg/registry \
))
$(eval $(call gb_Library_set_precompiled_header,uui,uui/inc/pch/precompiled_uui))
$(eval $(call gb_Library_use_sdk_api,uui))
$(eval $(call gb_Library_use_libraries,uui,\
comphelper \
cppu \
cppuhelper \
sal \
i18nlangtag \
svl \
svt \
svx \
tl \
utl \
vcl \
))
$(eval $(call gb_Library_add_exception_objects,uui,\
uui/source/alreadyopen \
uui/source/authfallbackdlg \
uui/source/filechanged \
uui/source/fltdlg \
uui/source/iahndl \
uui/source/iahndl-authentication \
uui/source/iahndl-errorhandler \
uui/source/iahndl-filter \
uui/source/iahndl-ioexceptions \
uui/source/iahndl-locking \
uui/source/iahndl-ssl \
uui/source/interactionhandler \
uui/source/lockfailed \
uui/source/lockcorrupt \
uui/source/logindlg \
uui/source/masterpasscrtdlg \
uui/source/masterpassworddlg \
uui/source/nameclashdlg \
uui/source/openlocked \
uui/source/passwordcontainer \
uui/source/passworddlg \
uui/source/readonlyopen \
uui/source/reloadeditable \
uui/source/requeststringresolver \
uui/source/secmacrowarnings \
uui/source/sslwarndlg \
uui/source/trylater \
uui/source/unknownauthdlg \
))
# vim: set noet sw=4 ts=4: