mtpfws/mtpfw/datatypes/interface/tmtptyperesponse.h
branchRCL_3
changeset 14 60a94a45d437
parent 0 d0791faffa3f
equal deleted inserted replaced
12:8b094906a049 14:60a94a45d437
    78         /**
    78         /**
    79         Parameter 5.
    79         Parameter 5.
    80         */
    80         */
    81         EResponseParameter5, 
    81         EResponseParameter5, 
    82         
    82         
       
    83         /*
       
    84          * Number of valid parameter
       
    85          */
       
    86         
       
    87         ENumValidParam,
    83         /**
    88         /**
    84         The number of dataset elements.
    89         The number of dataset elements.
    85         */
    90         */
       
    91         
    86         ENumElements, 
    92         ENumElements, 
    87         }; 
    93         }; 
    88     
    94     
    89 public:
    95 public:
    90 
    96 
    91     IMPORT_C TMTPTypeResponse();
    97     IMPORT_C TMTPTypeResponse();
    92     IMPORT_C TMTPTypeResponse(const TMTPTypeResponse& aResponse);
    98     IMPORT_C TMTPTypeResponse(const TMTPTypeResponse& aResponse);
       
    99     IMPORT_C TInt GetNumOfValidParams() const;
    93     
   100     
    94 public: // From TMTPTypeFlatBase
   101 public: // From TMTPTypeFlatBase
    95 
   102 
    96     IMPORT_C TUint Type() const;
   103     IMPORT_C TUint Type() const;
       
   104     
       
   105     IMPORT_C void SetUint32(TInt aElementId, TUint32 aData);
    97     
   106     
    98 private: // From TMTPTypeFlatBase
   107 private: // From TMTPTypeFlatBase
    99     
   108     
   100     IMPORT_C const TMTPTypeFlatBase::TElementInfo& ElementInfo(TInt aElementId) const;
   109     IMPORT_C const TMTPTypeFlatBase::TElementInfo& ElementInfo(TInt aElementId) const;
   101     
   110     
   102 private: 
   111 private: 
   103    
   112    
   104     /**
   113     /**
   105     The dataset size in bytes.
   114     The dataset size in bytes.
   106     */
   115     */
   107     static const TInt                               KSize = 30;
   116     static const TInt                               KSize = 34;
   108     
   117     
   109     /**
   118     /**
   110     The dataset element metadata table content.
   119     The dataset element metadata table content.
   111     */
   120     */
   112     static const TMTPTypeFlatBase::TElementInfo     iElementMetaData[];
   121     static const TMTPTypeFlatBase::TElementInfo     iElementMetaData[];
   118     
   127     
   119     /**
   128     /**
   120     The data buffer.
   129     The data buffer.
   121     */
   130     */
   122     TBuf8<KSize>                                    iBuffer; 
   131     TBuf8<KSize>                                    iBuffer; 
       
   132     
       
   133 
   123     };
   134     };
   124 
   135 
   125 #endif // TMTPTYPERESPONSE_H
   136 #endif // TMTPTYPERESPONSE_H
   126 
   137