pkiutilities/securitydialognotifier/src/securitydialogmain.cpp
branchRCL_3
changeset 22 03674e5abf46
parent 21 09b1ac925e3f
child 23 94da73d93b58
--- a/pkiutilities/securitydialognotifier/src/securitydialogmain.cpp	Tue Aug 31 16:04:40 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/*
-* Copyright (c) 2010 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:  Security Dialog notifier entry point
-*
-*/
-
-#include "securitydialognotifier.h"         // CSecurityDialogNotifier
-#include <ecom/implementationproxy.h>       // TImplementationProxy definition
-
-const TInt KNumberOfImplementations = 1;
-
-
-// ----------------------------------------------------------------------------
-// CreateNotifiersL()
-// ----------------------------------------------------------------------------
-//
-void CreateNotifiersL( CArrayPtr<MEikSrvNotifierBase2>& aNotifierArray )
-    {
-    CSecurityDialogNotifier* notifier = CSecurityDialogNotifier::NewL();
-    CleanupStack::PushL( notifier );
-    aNotifierArray.AppendL( notifier );
-    CleanupStack::Pop( notifier );
-    }
-
-// ----------------------------------------------------------------------------
-// NotifierArray()
-// ----------------------------------------------------------------------------
-//
-CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()
-    {
-    CArrayPtr<MEikSrvNotifierBase2>* notifierArray =
-        new CArrayPtrFlat<MEikSrvNotifierBase2>( KNumberOfImplementations );
-    if( notifierArray )
-        {
-        TRAPD( err, CreateNotifiersL( *notifierArray ) );
-        if( err )
-            {
-            TInt count = notifierArray->Count();
-            while( count-- )
-                {
-                (*notifierArray)[ count ]->Release();
-                }
-            delete notifierArray;
-            notifierArray = NULL;
-            }
-        }
-    return notifierArray;
-    }
-
-// ----------------------------------------------------------------------------
-// Provides a key value pair table, that ECOM uses to identify
-// the correct construction function for the requested interface.
-// ----------------------------------------------------------------------------
-//
-const TImplementationProxy ImplementationTable[] =
-    {
-    // UID is the implementation uid defined in .rss file
-    IMPLEMENTATION_PROXY_ENTRY( 0x101F883C, NotifierArray )
-    };
-
-// ----------------------------------------------------------------------------
-// Main entry function used to return an instance of the proxy table.
-// ----------------------------------------------------------------------------
-//
-EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
-    {
-    aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
-    return ImplementationTable;
-    }