appfw/apparchitecture/aplist/aplappregfinder.cpp
changeset 81 676b6116ca93
parent 35 13fd6fd25fe7
--- a/appfw/apparchitecture/aplist/aplappregfinder.cpp	Tue Oct 12 17:17:12 2010 +0300
+++ b/appfw/apparchitecture/aplist/aplappregfinder.cpp	Wed Oct 20 17:03:03 2010 +0300
@@ -21,7 +21,12 @@
 #include "../apgrfx/apprivate.h"
 #include <apsidchecker.h>
 #include "aplapplistitem.h"					// class TApaAppEntry
-#include "aplappinforeader.h"				// class ApaUtils
+#include "aplappinforeader.h"			// class ApaUtils
+#include "OstTraceDefinitions.h"
+#ifdef OST_TRACE_COMPILER_IN_USE
+#include "aplappregfinderTraces.h"
+#endif
+	
 
 
 GLDEF_C void Panic(TApfPanic aPanic)
@@ -71,6 +76,8 @@
 // Build a list of currently available drives
 void CApaAppRegFinder::RebuildDriveListL(TScanScope aScopeOfScan)
 	{
+    OstTraceDef1( OST_TRACE_CATEGORY_DEBUG, APPARC_TRACE_FLOW, CAPAAPPREGFINDER_REBUILDDRIVELISTL_ENTRY, "CApaAppRegFinder::RebuildDriveListL : aScopeOfScan=%d", aScopeOfScan);
+    
 	iListOfDrives.Reset();
 	TDriveList driveList;
 	User::LeaveIfError(iFs.DriveList(driveList));
@@ -129,6 +136,8 @@
 
 EXPORT_C void CApaAppRegFinder::FindAllAppsL(TScanScope aScopeOfScan)
 	{
+    OstTraceDef1( OST_TRACE_CATEGORY_DEBUG, APPARC_TRACE_FLOW, CAPAAPPREGFINDER_FINDALLAPPSL, "TScanScope passed to this API : aScopeOfScan=%d", aScopeOfScan );
+    
 	delete iFileList;
 	iFileList = NULL;
 	RebuildDriveListL(aScopeOfScan);