summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpClient.h
diff options
context:
space:
mode:
authorMike Lockwood <mike@spruce.(none)>2010-05-19 10:33:39 -0400
committerMike Lockwood <lockwood@android.com>2010-05-19 12:38:03 -0400
commit335dd2be955607f2632eabc25045857f2cc8b674 (patch)
tree59ad1930089fecf0bd70a8a9dc03db151b5d0028 /media/mtp/MtpClient.h
parentfceef46513db3507b413f604cea89e3c7f352663 (diff)
downloadframeworks_av-335dd2be955607f2632eabc25045857f2cc8b674.zip
frameworks_av-335dd2be955607f2632eabc25045857f2cc8b674.tar.gz
frameworks_av-335dd2be955607f2632eabc25045857f2cc8b674.tar.bz2
More work on PTP host support.
Change-Id: Ifbd5bd5efa3cdb750ae1a2aae38181457554d34d Signed-off-by: Mike Lockwood <mike@spruce.(none)>
Diffstat (limited to 'media/mtp/MtpClient.h')
-rw-r--r--media/mtp/MtpClient.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/media/mtp/MtpClient.h b/media/mtp/MtpClient.h
index 8e2d979..b43a9e0 100644
--- a/media/mtp/MtpClient.h
+++ b/media/mtp/MtpClient.h
@@ -20,12 +20,13 @@
#include "MtpRequestPacket.h"
#include "MtpDataPacket.h"
#include "MtpResponsePacket.h"
-#include "mtp.h"
-
-#include "MtpUtils.h"
+#include "MtpTypes.h"
namespace android {
+class MtpDeviceInfo;
+class MtpStorageInfo;
+
class MtpClient {
private:
struct usb_endpoint *mEndpointIn;
@@ -47,9 +48,12 @@ public:
virtual ~MtpClient();
bool openSession();
- bool getDeviceInfo();
bool closeSession();
+ MtpDeviceInfo* getDeviceInfo();
+ MtpStorageIDList* getStorageIDs();
+ MtpStorageInfo* getStorageInfo(MtpStorageID storageID);
+
private:
bool sendRequest(MtpOperationCode operation);
bool sendData(MtpOperationCode operation);