diff -r 6f9f6e99a23e -r e257e2b6459d mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/inc/cgetobjectreferences.h --- a/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/inc/cgetobjectreferences.h Tue May 25 13:14:13 2010 +0300 +++ b/mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/inc/cgetobjectreferences.h Wed Jun 09 10:13:45 2010 +0300 @@ -20,6 +20,7 @@ #define CGETOBJECTREFERENCES_H #include "crequestprocessor.h" +#include "cmmmtpdpperflog.h" // forward declaration class CMTPTypeArray; @@ -62,16 +63,31 @@ * @param aWrapper Medadata access interface */ CGetObjectReferences( MMTPDataProviderFramework& aFramework, - MMTPConnection& aConnection ); + MMTPConnection& aConnection, + MMmMtpDpConfig& aDpConfig ); /** * Two-phase construction */ void ConstructL(); + /** + * Add references of specified object into reference db, + * for the insertion delayed until the first time it was queried by pc + * @param aRefOwnerSuid, specify the reference owner of which references should be added into db + * @param aReferences, suid array which stored references + */ + void AddReferencesL( const TDesC& aRefOwnerSuid, + CDesCArray& aReferences ); + private: // Array object to store object references CMTPTypeArray* iReferences; + MMmMtpDpConfig& iDpConfig; + +#if defined(_DEBUG) || defined(MMMTPDP_PERFLOG) + CMmMtpDpPerfLog* iPerfLog; +#endif };