diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-11 16:07:37 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-12 12:33:11 +0200 |
commit | b3b9ae6c6fd19b437a5414489a9f38fb310a2843 (patch) | |
tree | fd83787466b01f0481c610475120c2c7cdfe8def /include/sfx2/safemode.hxx | |
parent | 6b44a8186da2270ef7d120b97380aabc297be76b (diff) |
safemode: Add flag to indicate safemode
Change-Id: Ifdbb291715b033eaace159297eac5348530e9f36
Diffstat (limited to 'include/sfx2/safemode.hxx')
-rw-r--r-- | include/sfx2/safemode.hxx | 32 |
1 files changed, 32 insertions, 0 deletions
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 <sfx2/dllapi.h> + +#include <rtl/ustring.hxx> + +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: */ |