* Software Update with apply the settings (Part10)

- Blacklist added to exclude files
- Files are marked by a prefixed '-' in the settingsupdate.conf
This commit is contained in:
micha-bbg
2012-11-11 07:53:57 +01:00
parent 187825be19
commit cddf86725d
5 changed files with 89 additions and 15 deletions

View File

@@ -54,6 +54,7 @@ class CExtUpdate
std::string backupList, defaultBackup;
std::string mountPkt;
CFileHelpers* FileHelpers;
std::vector<std::string> BlackList;
bool applySettings(void);
bool readBackupList(const std::string & dstPath);
@@ -80,6 +81,7 @@ class CExtUpdate
bool applySettings(const std::string & filename, int mode);
bool ErrorReset(bool modus, const std::string & msg1="", const std::string & msg2="");
bool isBlacklistEntry(const std::string & file);
};