Improve backup & wipe exclusion handling
Rename twrpDU.* to exclude.*
Remove global variable for du and replace with partition specific
variables.
Use separate exclusion lists for backups and wiping.
Clean up some includes
Fix some parenthesis in twrp.cpp that I messed up.
Note: twrpTarMain command line utility compiles but probably does
not work correctly yet due to not properly setting part_settings
Change-Id: Idec9c3e6a8782ba53f3420fa79ba33394f4f85fb
diff --git a/twrpTar.hpp b/twrpTar.hpp
index 49d373c..78c4c59 100644
--- a/twrpTar.hpp
+++ b/twrpTar.hpp
@@ -27,7 +27,7 @@
#include <fstream>
#include <string>
#include <vector>
-#include "twrpDU.hpp"
+#include "exclude.hpp"
#include "progresstracking.hpp"
#include "partitions.hpp"
#include "twrp-functions.hpp"
@@ -69,6 +69,7 @@
string partition_name;
string backup_folder;
PartitionSettings *part_settings;
+ TWExclude *backup_exclusions;
private:
int extract();