summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpDatabase.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-08-02 10:52:20 -0400
committerMike Lockwood <lockwood@android.com>2010-08-02 10:52:20 -0400
commit7a047c89862febf63ce1bb5873179c7a2ff8d9d3 (patch)
treec50e1d6590d63ef25e3e4d64cf57f3b4376495ee /media/mtp/MtpDatabase.h
parent59c777a24a2c639dfd84b7bf17e430e6d3424866 (diff)
downloadframeworks_base-7a047c89862febf63ce1bb5873179c7a2ff8d9d3.zip
frameworks_base-7a047c89862febf63ce1bb5873179c7a2ff8d9d3.tar.gz
frameworks_base-7a047c89862febf63ce1bb5873179c7a2ff8d9d3.tar.bz2
MTP: Implement GetNumObjects
Change-Id: Iccc3a445f9a1eab7bb76eddd567c6a3a8f155b2b Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpDatabase.h')
-rw-r--r--media/mtp/MtpDatabase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/mtp/MtpDatabase.h b/media/mtp/MtpDatabase.h
index a17797e..bbbbc38 100644
--- a/media/mtp/MtpDatabase.h
+++ b/media/mtp/MtpDatabase.h
@@ -47,6 +47,10 @@ public:
MtpObjectFormat format,
MtpObjectHandle parent) = 0;
+ virtual int getNumObjects(MtpStorageID storageID,
+ MtpObjectFormat format,
+ MtpObjectHandle parent) = 0;
+
virtual MtpResponseCode getObjectProperty(MtpObjectHandle handle,
MtpObjectProperty property,
MtpDataPacket& packet) = 0;