--- a/mtpfws/mtpfw/dataproviders/dputility/src/cmtpgetobjectproplist.cpp Tue Sep 14 22:52:29 2010 +0300
+++ b/mtpfws/mtpfw/dataproviders/dputility/src/cmtpgetobjectproplist.cpp Wed Sep 15 13:07:27 2010 +0300
@@ -477,7 +477,22 @@
iPropertyList->CommitPropElemL(propElem);
}
}
- break;
+ break;
+ case EMTPObjectPropCodeHidden:
+ {
+ TBool isHidden = iFileEntry.IsHidden();
+ CMTPTypeObjectPropListElement& propElem = iPropertyList->ReservePropElemL(aHandle, aPropCode);
+ if ( isHidden )
+ {
+ propElem.SetUint16L(CMTPTypeObjectPropListElement::EValue, EMTPHidden);
+ }
+ else
+ {
+ propElem.SetUint16L(CMTPTypeObjectPropListElement::EValue, EMTPVisible);
+ }
+ iPropertyList->CommitPropElemL(propElem);
+ }
+ break;
default:
User::Leave( KErrNotSupported );
break;