--- a/mtpfws/mtpfw/src/cmtpdataproviderconfig.cpp Fri Aug 20 17:43:33 2010 +0800
+++ b/mtpfws/mtpfw/src/cmtpdataproviderconfig.cpp Fri Sep 03 18:38:04 2010 +0800
@@ -15,6 +15,11 @@
#include <barsread.h>
#include "cmtpdataproviderconfig.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "cmtpdataproviderconfigTraces.h"
+#endif
+
/**
CMTPDataProviderConfig factory method.
@@ -175,6 +180,7 @@
iType = static_cast<TMTPDataProviderTypes>(aReader.ReadUint16());
if(KMTPDataProviderTypeECOM != iType)
{
+ OstTrace1( TRACE_ERROR, CMTPDATAPROVIDERCONFIG_CONSTRUCTL, "type %d not MTP Dp ecom plugin", iType);
User::Leave(KErrCorrupt);
}