LibreOffice Module sfx2 (master) 1
flatpak.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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
10#ifndef INCLUDED_INCLUDE_SFX2_FLATPAK_HXX
11#define INCLUDED_INCLUDE_SFX2_FLATPAK_HXX
12
13#include <sal/config.h>
14
15#include <rtl/ustring.hxx>
16#include <sfx2/dllapi.h>
17
18// Functionality related to the Flatpak version of LibreOffice.
19
20namespace flatpak
21{
22bool isFlatpak();
23
24// Must only be called with SolarMutex locked:
25bool createTemporaryHtmlDirectory(OUString** url);
26
27// Must only be called with SolarMutex locked:
29}
30
31#endif
32
33/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29
bool createTemporaryHtmlDirectory(OUString **url)
Definition: flatpak.cxx:42
bool isFlatpak()
Definition: flatpak.cxx:27
SFX2_DLLPUBLIC void removeTemporaryHtmlDirectory()
Definition: flatpak.cxx:87