upnpsharing/upnpsharingalgorithm/src/upnpsharingalgorithmfactory.cpp
branchIOP_Improvements
changeset 40 08b5eae9f9ff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/upnpsharing/upnpsharingalgorithm/src/upnpsharingalgorithmfactory.cpp	Wed Nov 03 11:45:09 2010 +0200
@@ -0,0 +1,36 @@
+/*
+* Copyright (c) 2009 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"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:      Factory for UPnPSharingAlgorithm
+*
+*/
+
+
+#include "upnpsharingalgorithmfactory.h"
+#include "upnpsharingalgorithm.h"
+#include "upnpsharingalgorithmimpl.h"
+
+
+// ======== MEMBER FUNCTIONS ========
+
+// --------------------------------------------------------------------------
+// CUPnPSharingAlgorithmFactory::NewSharingApiL
+// --------------------------------------------------------------------------
+//
+EXPORT_C MUpnpSharingAlgorithm*
+                CUPnPSharingAlgorithmFactory::NewSharingApiL( )
+    {
+    return (MUpnpSharingAlgorithm*) CUpnpSharingAlgorithmImpl::NewL();
+    }
+
+// End of file