diff -r 8b094906a049 -r 60a94a45d437 mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h --- a/mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h Mon Mar 15 12:43:12 2010 +0200 +++ b/mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h Wed Mar 31 22:58:56 2010 +0300 @@ -80,9 +80,15 @@ */ EResponseParameter5, + /* + * Number of valid parameter + */ + + ENumValidParam, /** The number of dataset elements. */ + ENumElements, }; @@ -90,11 +96,14 @@ IMPORT_C TMTPTypeResponse(); IMPORT_C TMTPTypeResponse(const TMTPTypeResponse& aResponse); + IMPORT_C TInt GetNumOfValidParams() const; public: // From TMTPTypeFlatBase IMPORT_C TUint Type() const; + IMPORT_C void SetUint32(TInt aElementId, TUint32 aData); + private: // From TMTPTypeFlatBase IMPORT_C const TMTPTypeFlatBase::TElementInfo& ElementInfo(TInt aElementId) const; @@ -104,7 +113,7 @@ /** The dataset size in bytes. */ - static const TInt KSize = 30; + static const TInt KSize = 34; /** The dataset element metadata table content. @@ -120,6 +129,8 @@ The data buffer. */ TBuf8 iBuffer; + + }; #endif // TMTPTYPERESPONSE_H