summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-10-12 10:42:47 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-10-12 12:33:11 +0200
commita1261b63f22b8d9d7b134137d1252b6b28dea35c (patch)
tree882a992d1d47f5fd60e317c342e6dc87b3f23760
parentb3b9ae6c6fd19b437a5414489a9f38fb310a2843 (diff)
Safemode: Add doxygen documentation
Change-Id: Ic5a7f5dfcefe66c961c9b71e9dbdfefeb9f06825
-rw-r--r--include/sfx2/safemode.hxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sfx2/safemode.hxx b/include/sfx2/safemode.hxx
index 666d2d4215ef..03f85904271c 100644
--- a/include/sfx2/safemode.hxx
+++ b/include/sfx2/safemode.hxx
@@ -19,9 +19,29 @@ namespace sfx2 {
class SFX2_DLLPUBLIC SafeMode
{
public:
+ /**
+ * Write a flag file to the user profile indicating that the next launch should be in safe mode.
+ *
+ * @return Whether the file could be written successfully
+ */
static bool putFlag();
+
+ /**
+ * Check the existence of the safe mode flag file.
+ *
+ * @return Whether the flag file for the safe mode exists
+ */
static bool hasFlag();
+
+ /**
+ * Remove the flag file for the safe mode.
+ *
+ * @return Whether the flag file could be removed successfully
+ */
static bool removeFlag();
+
+private:
+ /** Returns the path of the safe mode flag file.*/
static OUString getFileName();
};