vold2: Some more work on partitioning support
Signed-off-by: San Mehat <san@google.com>
diff --git a/DirectVolume.h b/DirectVolume.h
index 3dbe76c..a66d27a 100644
--- a/DirectVolume.h
+++ b/DirectVolume.h
@@ -21,13 +21,19 @@
#include "Volume.h"
+#define MAX_PARTS 4
+
typedef android::List<char *> PathCollection;
class DirectVolume : public Volume {
+public:
+ static const int MAX_PARTITIONS = 4;
protected:
PathCollection *mPaths;
int mPartIdx;
- int mDiskMaj;
+ int mDiskMajor;
+ int mDiskMinor;
+ int mPartMinors[MAX_PARTITIONS];
int mDiskNumParts;
unsigned char mPendingPartMap;