phonebookui/Phonebook2/UIServices/src/Dllmain.cpp
branchRCL_3
changeset 63 f4a778e096c2
parent 0 e686773b3f54
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/UIServices/src/Dllmain.cpp	Wed Sep 01 12:29:52 2010 +0100
@@ -0,0 +1,54 @@
+/*
+* Copyright (c) 2005-2007 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:  Phonebook 2 UI Services DLL main.
+*
+*/
+
+
+// Phonebook 2
+#include "CPbk2AiwAssignProvider.h"
+#include "CPbk2AiwSelectionProvider.h"
+#include <Pbk2InternalUID.h>
+
+// System includes
+#include <e32std.h>
+#include <ecom/implementationproxy.h>
+
+// --------------------------------------------------------------------------
+// ImplementationTable
+// Define the interface UIDs
+// --------------------------------------------------------------------------
+//
+const TImplementationProxy ImplementationTable[] =
+    {
+    IMPLEMENTATION_PROXY_ENTRY( KPbk2AiwCmdSelectImplementationUID,
+        CPbk2AiwSelectionProvider::NewL ),
+    IMPLEMENTATION_PROXY_ENTRY( KPbk2AiwCmdAssignImplementationUID,
+        CPbk2AiwAssignProvider::NewL )
+    };
+
+// --------------------------------------------------------------------------
+// ImplementationGroupProxy
+// The one and only exported function that is the ECom entry point
+// --------------------------------------------------------------------------
+//
+EXPORT_C const TImplementationProxy* ImplementationGroupProxy
+        ( TInt& aTableCount )
+    {
+    aTableCount =
+        sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
+    return ImplementationTable;
+    }
+
+// End of File