mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h
changeset 20 6e82ae192c3a
parent 0 d0791faffa3f
--- a/mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h	Fri Apr 16 15:51:48 2010 +0300
+++ b/mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h	Mon May 03 13:19:02 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<KSize>                                    iBuffer; 
+    
+
     };
 
 #endif // TMTPTYPERESPONSE_H