summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-18 15:33:47 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-18 15:37:15 +0200
commit4a2a1267408099e0f1d2e57c322527d4979041fc (patch)
treea16d7459c48ce16d9c3e4d98cda51dfb6097e059 /partitions.hpp
parentUpdate backup and restore code, adb sideload (diff)
downloadandroid_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.tar
android_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.tar.gz
android_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.tar.bz2
android_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.tar.lz
android_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.tar.xz
android_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.tar.zst
android_bootable_recovery-4a2a1267408099e0f1d2e57c322527d4979041fc.zip
Diffstat (limited to '')
-rw-r--r--partitions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partitions.hpp b/partitions.hpp
index 36138d102..ada2f3399 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -174,6 +174,7 @@ public:
private:
bool Make_MD5(bool generate_md5, string Backup_Folder, string Backup_Filename); // Generates an MD5 after a backup is made
bool Backup_Partition(TWPartition* Part, string Backup_Folder, bool generate_md5, unsigned long long* img_bytes_remaining, unsigned long long* file_bytes_remaining, unsigned long *img_time, unsigned long *file_time);
+ bool Restore_Partition(TWPartition* Part, string Restore_Name);
private:
std::vector<TWPartition*> Partitions; // Vector list of all partitions