summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2016-08-31 02:48:53 +0200
committerbigbiff bigbiff <bigbiff@teamw.in>2016-08-31 02:52:02 +0200
commit8fd4b096c486f56ad811fb7d696c807db7c78667 (patch)
treee24435214f2eb74cf59e1da59fd7a75113a69eb6 /partitions.hpp
parentMake naming scheme more meaningful (diff)
downloadandroid_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.tar
android_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.tar.gz
android_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.tar.bz2
android_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.tar.lz
android_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.tar.xz
android_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.tar.zst
android_bootable_recovery-8fd4b096c486f56ad811fb7d696c807db7c78667.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/partitions.hpp b/partitions.hpp
index 7416fbe4c..201a4e1d1 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -60,8 +60,8 @@ struct PartitionSettings {
uint64_t img_bytes; // total image bytes of all emmc partitions
uint64_t file_bytes; // total file bytes of all file based partitions
int partition_count; // Number of partitions to restore
- ProgressTracking *progress;
- enum PartitionManager_Op PM_Method; //Current operation of backup or restore
+ ProgressTracking *progress; // Keep track of progress in GUI
+ enum PartitionManager_Op PM_Method; // Current operation of backup or restore
};
enum Backup_Method_enum {
@@ -94,7 +94,7 @@ public:
bool Can_Resize(); // Checks to see if we have everything needed to be able to resize the current file system
bool Resize(); // Resizes the current file system
bool Backup(PartitionSettings *part_settings, pid_t *tar_fork_pid); // Backs up the partition to the folder specified
- bool Check_MD5(string restore_folder); // Checks MD5 of a backup
+ bool Check_MD5(PartitionSettings *part_settings); // Checks MD5 of a backup
bool Restore(PartitionSettings *part_settings); // Restores the partition using the backup folder provided
unsigned long long Get_Restore_Size(PartitionSettings *part_settings);// Returns the overall restore size of the backup
string Backup_Method_By_Name(); // Returns a string of the backup method for human readable output