summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-27 18:38:38 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-27 18:40:09 +0200
commit9350b8d6ed0100c6a1a613207841629fa6303928 (patch)
tree42d90eccc39b95c27e0272c547e42f24fff4781d /partitions.hpp
parentPort backup name checking to Partition Manager (diff)
downloadandroid_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.tar
android_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.tar.gz
android_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.tar.bz2
android_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.tar.lz
android_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.tar.xz
android_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.tar.zst
android_bootable_recovery-9350b8d6ed0100c6a1a613207841629fa6303928.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitions.hpp b/partitions.hpp
index bb8f621eb..d55fec431 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -116,7 +116,6 @@ private:
void Find_Real_Block_Device(string& Block_Device, bool Display_Error); // Checks the block device given and follows symlinks until it gets to the real block device
bool Find_Partition_Size(); // Finds the partition size from /proc/partitions
unsigned long long Get_Size_Via_du(string Path, bool Display_Error); // Uses du to get sizes
- void Flip_Block_Device(); // Flips the Block_Device and Alternate_Block_Device
bool Wipe_EXT23(); // Formats as ext3 or ext2
bool Wipe_EXT4(); // Formats using ext4, uses make_ext4fs when present
bool Wipe_FAT(); // Formats as FAT except that mkdosfs from busybox usually fails so oftentimes this is actually a rm -rf wipe
@@ -182,6 +181,7 @@ public:
virtual int usb_storage_enable(void); // Enable USB storage mode
virtual int usb_storage_disable(void); // Disable USB storage mode
virtual void Mount_All_Storage(void); // Mounts all storage locations
+ virtual int Partition_SDCard(void); // Repartitions the sdcard
private:
bool Make_MD5(bool generate_md5, string Backup_Folder, string Backup_Filename); // Generates an MD5 after a backup is made