From 3fdcda46629e8e7fc19e89c51350b1e6f151e05e Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 30 Nov 2016 12:29:37 -0600 Subject: 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 --- twrpTar.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'twrpTar.hpp') diff --git a/twrpTar.hpp b/twrpTar.hpp index 49d373c13..78c4c5978 100644 --- a/twrpTar.hpp +++ b/twrpTar.hpp @@ -27,7 +27,7 @@ extern "C" { #include #include #include -#include "twrpDU.hpp" +#include "exclude.hpp" #include "progresstracking.hpp" #include "partitions.hpp" #include "twrp-functions.hpp" @@ -69,6 +69,7 @@ public: string partition_name; string backup_folder; PartitionSettings *part_settings; + TWExclude *backup_exclusions; private: int extract(); -- cgit v1.2.3