diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-12 13:25:54 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-12 14:08:55 +0000 |
commit | 5f1a338d54966f77e8aef2c77e5d01260f2f5bbe (patch) | |
tree | 6488e800cee0e5d53d50ef4cdbc750915f8dde51 /include/comphelper | |
parent | Don't allow O[U]StringBuffer in string concatenation (diff) | |
download | core-5f1a338d54966f77e8aef2c77e5d01260f2f5bbe.tar.gz core-5f1a338d54966f77e8aef2c77e5d01260f2f5bbe.zip |
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')
-rw-r--r-- | include/comphelper/backupfilehelper.hxx | 10 |
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(); }; } |