pressrv_plat/registration_api/inc/simplefactory.h
branchRCL_3
changeset 18 fbd2e7cec7ef
parent 17 2669f8761a99
--- a/pressrv_plat/registration_api/inc/simplefactory.h	Tue Aug 31 15:35:50 2010 +0300
+++ b/pressrv_plat/registration_api/inc/simplefactory.h	Wed Sep 01 12:23:14 2010 +0100
@@ -162,6 +162,15 @@
     IMPORT_C static MSimpleContent* NewContentL( 
         const TDesC8& aContentID, const TDesC8& aContentType );    
 
+    /**
+     * Create new simple engine Connection entity.
+     * @since S60 3.2
+     * @param aObserver client callback observer
+     * @param aServiceId serviceId of current service
+     * @return MSimpleConnection, ownership is transferred.
+     */
+    IMPORT_C static MSimpleConnection* NewConnectionL(
+        MSimpleConnectionObserver& aObserver, TInt32 aServiceId );
     };
 
 #endif