summaryrefslogtreecommitdiff
path: root/include/comphelper/backupfilehelper.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-10-13 18:31:51 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2016-10-14 10:37:30 +0000
commita1b7231a33322bbbb8352e2cd6aeff3b473b01d4 (patch)
tree5f4ff9e277889f8aa44067328d667c6aa16d7406 /include/comphelper/backupfilehelper.hxx
parent876fcb5461bb1fdb151a4457ccacaed6904238a2 (diff)
profilesafe: Adapted to UI
Adaptions to UI, added more modes what the user can do in SafeMode. Adapted locations to write pack information and added places where to enter SafeMode. Implemented basically all five possible user choices Change-Id: Ic5324a8f77ab434309e840949c3803e65a75c538 Reviewed-on: https://gerrit.libreoffice.org/29785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'include/comphelper/backupfilehelper.hxx')
-rw-r--r--include/comphelper/backupfilehelper.hxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/comphelper/backupfilehelper.hxx b/include/comphelper/backupfilehelper.hxx
index b1913f901822..24978c7a8706 100644
--- a/include/comphelper/backupfilehelper.hxx
+++ b/include/comphelper/backupfilehelper.hxx
@@ -106,15 +106,21 @@ namespace comphelper
*
* @return bool
* returns true if a new backup was actually created
+ *
+ * tryPushExtensionInfo is the specialized version for ExtensionInfo
*/
bool tryPush();
+ bool tryPushExtensionInfo();
/** finds out if a restore is possible
*
* @return bool
* returns true if a restore to an older backup is possible
+ *
+ * isPopPossibleExtensionInfo is the specialized version for ExtensionInfo
*/
bool isPopPossible();
+ bool isPopPossibleExtensionInfo();
/** tries to execute a restore. Will overwrite the base file
* in that case and take one version off the 'stack' of copies.
@@ -123,8 +129,25 @@ namespace comphelper
*
* @return bool
* returns true if a restore was actually created
+ *
+ * tryPopExtensionInfo is the specialized version for ExtensionInfo
*/
bool tryPop();
+ bool tryPopExtensionInfo();
+
+ /** tries to iterate the extensions and to disable all of them
+ */
+ static bool isTryDisableAllExtensionsPossible();
+ static void tryDisableAllExtensions();
+
+ /** resets User-Customizations like Settings and UserInterface modifications
+ */
+ bool isTryResetCustomizationsPossible();
+ void tryResetCustomizations();
+
+ /** resets the whole UserProfile
+ */
+ void tryResetUserProfile();
private:
// internal helper methods