OSDN Git Service

Revert "Add support for gid derivation on private volumes"
[android-x86/system-vold.git] / Disk.h
diff --git a/Disk.h b/Disk.h
index a8461fb..77ec7df 100644 (file)
--- a/Disk.h
+++ b/Disk.h
@@ -18,6 +18,7 @@
 #define ANDROID_VOLD_DISK_H
 
 #include "Utils.h"
+#include "VolumeBase.h"
 
 #include <utils/Errors.h>
 
@@ -49,6 +50,8 @@ public:
         kSd = 1 << 2,
         /* Flag that disk is USB disk */
         kUsb = 1 << 3,
+        /* Flag that disk is EMMC internal */
+        kEmmc = 1 << 4,
     };
 
     const std::string& getId() { return mId; }
@@ -62,6 +65,8 @@ public:
 
     std::shared_ptr<VolumeBase> findVolume(const std::string& id);
 
+    void listVolumes(VolumeBase::Type type, std::list<std::string>& list);
+
     status_t create();
     status_t destroy();