LibreOffice Module sfx2 (master) 1
safemode.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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_SFX2_SAFEMODE_HXX
11#define INCLUDED_SFX2_SAFEMODE_HXX
12
13#include <sfx2/dllapi.h>
14
15#include <rtl/ustring.hxx>
16
17namespace sfx2
18{
20{
21public:
27 static bool putFlag();
28
34 static bool hasFlag();
35
41 static bool removeFlag();
42
49 static bool putRestartFlag();
50
56 static bool hasRestartFlag();
57
63 static bool removeRestartFlag();
64
65private:
67 static OUString getFilePath(const OUString& sFilename);
68};
69}
70
71#endif
72
73/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29