LibreOffice Module sfx2 (master) 1
|
#include <safemode.hxx>
Static Public Member Functions | |
static bool | putFlag () |
Write a flag file to the user profile indicating that the next launch should be in safe mode. More... | |
static bool | hasFlag () |
Check the existence of the safe mode flag file. More... | |
static bool | removeFlag () |
Remove the flag file for the safe mode. More... | |
static bool | putRestartFlag () |
Write a flag to the user profile indicating that we are currently restarting from safe mode - that means we don't want to enter safe mode again. More... | |
static bool | hasRestartFlag () |
Check the existence of the restart flag file. More... | |
static bool | removeRestartFlag () |
Remove the restart flag file. More... | |
Static Private Member Functions | |
static OUString | getFilePath (const OUString &sFilename) |
Returns the path of the safe mode flag file. More... | |
Definition at line 19 of file safemode.hxx.
|
staticprivate |
Returns the path of the safe mode flag file.
Definition at line 68 of file safemode.cxx.
References SAL_CONFIGFILE.
Referenced by hasFlag(), hasRestartFlag(), putFlag(), putRestartFlag(), removeFlag(), and removeRestartFlag().
|
static |
Check the existence of the safe mode flag file.
Definition at line 31 of file safemode.cxx.
References File, and getFilePath().
|
static |
Check the existence of the restart flag file.
Definition at line 53 of file safemode.cxx.
References File, and getFilePath().
|
static |
Write a flag file to the user profile indicating that the next launch should be in safe mode.
Definition at line 21 of file safemode.cxx.
References File, and getFilePath().
|
static |
Write a flag to the user profile indicating that we are currently restarting from safe mode - that means we don't want to enter safe mode again.
Definition at line 43 of file safemode.cxx.
References File, and getFilePath().
|
static |
Remove the flag file for the safe mode.
Definition at line 41 of file safemode.cxx.
References getFilePath().
|
static |
Remove the restart flag file.
Definition at line 63 of file safemode.cxx.
References getFilePath().