summaryrefslogtreecommitdiff
path: root/include/comphelper/backupfilehelper.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-10-12 13:25:54 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2016-10-12 14:08:55 +0000
commit5f1a338d54966f77e8aef2c77e5d01260f2f5bbe (patch)
tree6488e800cee0e5d53d50ef4cdbc750915f8dde51 /include/comphelper/backupfilehelper.hxx
parent802f2a420859f6787c86a960aa331245423d5820 (diff)
profilesafe: Multiple adaptions
Added own directory in User config to where the saved content is written and taken from, adapted to also handle ExtensionConfiguration, changed point for creating backups of configuration to doShutdown, create no configuration when a restart is triggered (untested configuration) Change-Id: Id7a96195b765842c31cacf81cc08d2965a205281 Reviewed-on: https://gerrit.libreoffice.org/29729 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.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/comphelper/backupfilehelper.hxx b/include/comphelper/backupfilehelper.hxx
index 7cb20231927b..503bfc672549 100644
--- a/include/comphelper/backupfilehelper.hxx
+++ b/include/comphelper/backupfilehelper.hxx
@@ -144,8 +144,14 @@ namespace comphelper
private:
// internal helper methods
bool splitBaseURL();
- bool baseFileExists();
- rtl::OUString getName();
+ const rtl::OUString getPackDirName() const;
+ const rtl::OUString getPackFileName(const rtl::OUString& rFileName) const;
+ bool tryPush_basefile(bool bCompress);
+ bool tryPush_extensionInfo(bool bCompress);
+ bool isPopPossible_basefile();
+ bool isPopPossible_extensionInfo();
+ bool tryPop_basefile();
+ bool tryPop_extensionInfo();
};
}