simpleengine/engine/src/simplefactory.cpp
branchRCL_3
changeset 35 fbd2e7cec7ef
parent 34 2669f8761a99
--- a/simpleengine/engine/src/simplefactory.cpp	Tue Aug 31 15:35:50 2010 +0300
+++ b/simpleengine/engine/src/simplefactory.cpp	Wed Sep 01 12:23:14 2010 +0100
@@ -47,6 +47,10 @@
 #include "msimplewinfowatcher.h"
 #include "simpleinstantmessage.h"
 
+#ifdef _DEBUG
+#include "simpledebugutils.h"
+#endif
+
 class MSimpleConnectionObserver;
 class MSimplePublishObserver;
 class MSimpleWatcherObserver;
@@ -91,6 +95,9 @@
 EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL(
     MSimpleConnectionObserver& aObserver)
     {
+    #ifdef _DEBUG
+    TSimpleLogger::Log(_L("TSimpleFactory::NewConnectionL" ) );
+    #endif
     return CSimpleConnection::NewL( aObserver );
     }
 
@@ -134,7 +141,11 @@
         aContentID, aContentType );    
     }
       
+EXPORT_C MSimpleConnection* TSimpleFactory::NewConnectionL(
+    MSimpleConnectionObserver& aObserver, TInt32 aServiceId )
+    {
+    return CSimpleConnection::NewL( aObserver, aServiceId );
+    }
 
 
 
-