mtpfws/mtpfw/dataproviders/dputility/inc/cmtprequestchecker.h
branchRCL_3
changeset 4 60a94a45d437
parent 0 d0791faffa3f
equal deleted inserted replaced
3:8b094906a049 4:60a94a45d437
    25 
    25 
    26 #include <e32base.h>
    26 #include <e32base.h>
    27 #include <mtp/mtpprotocolconstants.h>
    27 #include <mtp/mtpprotocolconstants.h>
    28 #include <mtp/tmtptyperequest.h>
    28 #include <mtp/tmtptyperequest.h>
    29 #include "mtpdebug.h"
    29 #include "mtpdebug.h"
       
    30 #include "rmtpdpsingletons.h"
    30 
    31 
    31 class CMTPObjectMetaData;
    32 class CMTPObjectMetaData;
    32 class MMTPDataProviderFramework;
    33 class MMTPDataProviderFramework;
    33 class MMTPConnection;
    34 class MMTPConnection;
    34 
    35 
   136     TMTPResponseCode VerifyStorageIdL(TUint32 aStorageId, const TMTPRequestElementInfo& aElementInfo) const;  
   137     TMTPResponseCode VerifyStorageIdL(TUint32 aStorageId, const TMTPRequestElementInfo& aElementInfo) const;  
   137     TMTPResponseCode VerifyFormatCode(TUint32 aFormatCode, const TMTPRequestElementInfo& aElementInfo) const;
   138     TMTPResponseCode VerifyFormatCode(TUint32 aFormatCode, const TMTPRequestElementInfo& aElementInfo) const;
   138 	TBool IsSpecialValue(TUint32 aParameter, const TMTPRequestElementInfo& aElementInfo) const;
   139 	TBool IsSpecialValue(TUint32 aParameter, const TMTPRequestElementInfo& aElementInfo) const;
   139 private:
   140 private:
   140 	CMTPRequestChecker(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);	
   141 	CMTPRequestChecker(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);	
       
   142 	void ConstructL();
   141 	
   143 	
   142 private:
   144 private:
   143     MMTPDataProviderFramework&		    iFramework;
   145     MMTPDataProviderFramework&		    iFramework;
   144     MMTPConnection& 				    iConnection;
   146     MMTPConnection& 				    iConnection;
   145 	RArray<TUint32>					    iHandles;			//these two arrays contain the mapping from the handle to objectinfo 
   147 	RArray<TUint32>					    iHandles;			//these two arrays contain the mapping from the handle to objectinfo 
   146 	RPointerArray<CMTPObjectMetaData>   iObjectArray; 
   148 	RPointerArray<CMTPObjectMetaData>   iObjectArray;
       
   149 	RMTPDpSingletons										iDpSingletons;
   147 	/**
   150 	/**
   148     FLOGGER debug trace member variable.
   151     FLOGGER debug trace member variable.
   149     */
   152     */
   150     __FLOG_DECLARATION_MEMBER_MUTABLE;
   153     __FLOG_DECLARATION_MEMBER_MUTABLE;
   151     };
   154     };