omasuplasnconverterstubimpl/src/asnimplementationdllmain.cpp
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     1 /*
       
     2 * Copyright (c) 2009 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: Implementation of Main
       
    15 *
       
    16 */
       
    17 
       
    18 //  Include Files  
       
    19 
       
    20 #include <e32std.h>		 // GLDEF_C
       
    21 #include "asnimplementation.pan"		// panic codes
       
    22 
       
    23 //  Global Functions
       
    24 
       
    25 GLDEF_C void Panic(TAsnImplementationPanic aPanic)
       
    26 // Panics the thread with given panic code
       
    27     {
       
    28     User::Panic(_L("AsnImplementation"), aPanic);
       
    29     }
       
    30 
       
    31 //  Exported Functions
       
    32 
       
    33 #ifndef EKA2 // for EKA1 only
       
    34 EXPORT_C TInt E32Dll(TDllReason /*aReason*/)
       
    35 // Called when the DLL is loaded and unloaded. Note: have to define
       
    36 // epoccalldllentrypoints in MMP file to get this called in THUMB.
       
    37     {
       
    38     return KErrNone;
       
    39     }
       
    40 #endif
       
    41