From b3b9ae6c6fd19b437a5414489a9f38fb310a2843 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Tue, 11 Oct 2016 16:07:37 +0200 Subject: safemode: Add flag to indicate safemode Change-Id: Ifdbb291715b033eaace159297eac5348530e9f36 --- include/sfx2/safemode.hxx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 include/sfx2/safemode.hxx (limited to 'include') diff --git a/include/sfx2/safemode.hxx b/include/sfx2/safemode.hxx new file mode 100644 index 000000000000..666d2d4215ef --- /dev/null +++ b/include/sfx2/safemode.hxx @@ -0,0 +1,32 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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/. + */ + +#ifndef INCLUDED_SFX2_SAFEMODE_HXX +#define INCLUDED_SFX2_SAFEMODE_HXX + +#include + +#include + +namespace sfx2 { + +class SFX2_DLLPUBLIC SafeMode +{ +public: + static bool putFlag(); + static bool hasFlag(); + static bool removeFlag(); + static OUString getFileName(); +}; + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit