appinstaller/AppinstUi/Plugin/Tasks/StartupTask/Src/StartupTaskMain.cpp
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   This class contains the ECom specific implementations for
       
    15 *                startuptask plugin.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <e32std.h>
       
    22 #include <ecom/implementationproxy.h>
       
    23 
       
    24 #include "StartupTaskAdd.h"
       
    25 #include "StartupTaskRemove.h"
       
    26 #include "SWInstUid.h"
       
    27 
       
    28 using namespace SwiUI;
       
    29 
       
    30 // CONSTANTS
       
    31 
       
    32 const TImplementationProxy KImplementationTable[] =
       
    33     {
       
    34     IMPLEMENTATION_PROXY_ENTRY( KSWInstStartupAddImplUid, 
       
    35                                 CStartupTaskAdd::NewL ),
       
    36     IMPLEMENTATION_PROXY_ENTRY( KSWInstStartupRemoveImplUid, 
       
    37                                 CStartupTaskRemove::NewL )
       
    38     };
       
    39 
       
    40 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // ImplementationGroupProxy
       
    44 // Returns the filters implemented in this DLL
       
    45 // Returns: The filters implemented in this DLL
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    49     {
       
    50     aTableCount = sizeof( KImplementationTable ) / sizeof( TImplementationProxy );
       
    51     return KImplementationTable;
       
    52     }
       
    53 
       
    54 //  End of File