summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpDevice.h')
-rw-r--r--media/mtp/MtpDevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/mtp/MtpDevice.h b/media/mtp/MtpDevice.h
index fe4f1bd..226b247 100644
--- a/media/mtp/MtpDevice.h
+++ b/media/mtp/MtpDevice.h
@@ -36,6 +36,7 @@ private:
struct usb_endpoint* mEndpointOut;
struct usb_endpoint* mEndpointIntr;
MtpDeviceInfo* mDeviceInfo;
+ MtpPropertyList mDeviceProperties;
// a unique ID for the device
int mID;
@@ -70,6 +71,8 @@ public:
MtpObjectHandleList* getObjectHandles(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent);
MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
+ MtpProperty* getDevicePropDesc(MtpDeviceProperty code);
+
private:
bool sendRequest(MtpOperationCode operation);
bool sendData(MtpOperationCode operation);