--- a/tzservices/tzserver/Server/Source/DataProvider.cpp Tue Oct 12 17:17:12 2010 +0300
+++ b/tzservices/tzserver/Server/Source/DataProvider.cpp Wed Oct 20 17:03:03 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -19,6 +19,12 @@
#include "ReadOnlyTzDb.h"
#include "vtzrules.h"
#include "timezoneserver.h"
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "DataProviderTraces.h"
+#endif
+
+
CTzDataProvider* CTzDataProvider::NewL(RFs& aFs, CTzSwiObserver& aSwiObserver,
CTzUserDataDb& aTzUserDataDb, MTzDataObserver& aTzDataObserver)
@@ -92,6 +98,8 @@
*/
void CTzDataProvider::GetOffsetsForTimeZoneIdsL(CBufFlat& aTimeZoneIdArray) const
{
+OstTraceDef0( OST_TRACE_CATEGORY_DEBUG,TRACE_FLOW_PARAM, CTZDATAPROVIDER_GETOFFSETSFORTIMEZONEIDSL_ENTRY, "CTzDataProvider::GetOffsetsForTimeZoneIdsL Entrty" );
+
const TInt KElementSize = sizeof(TInt);
// Get number of time zone identifiers in array.
@@ -145,6 +153,8 @@
// Advance array offset to next time zone identifier.
arrayOffset += KElementSize;
}
+ OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_FLOW_PARAM, CTZDATAPROVIDER_GETOFFSETSFORTIMEZONEIDSL_EXIT, "CTzDataProvider::GetOffsetsForTimeZoneIdsL Exit" );
+
}
void CTzDataProvider::BackupBeginningL()