textinput/ptihangulcore/src/libhangul_symbianDllMain.cpp
branchRCL_3
changeset 3 f5a1e66df979
equal deleted inserted replaced
0:eb1f2e154e89 3:f5a1e66df979
       
     1 /*
       
     2 * Copyright (c) 2005,2006 Choe Hwanjin
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  Include Files  
       
    20 
       
    21 #include <e32std.h>		 // GLDEF_C
       
    22 #include "libhangul_symbian.pan"		// panic codes
       
    23 
       
    24 //  Global Functions
       
    25 
       
    26 GLDEF_C void Panic(Tlibhangul_symbianPanic aPanic)
       
    27 // Panics the thread with given panic code
       
    28     {
       
    29     User::Panic(_L("libhangul_symbian"), aPanic);
       
    30     }
       
    31 
       
    32 //  Exported Functions
       
    33 
       
    34 #ifndef EKA2 // for EKA1 only
       
    35 EXPORT_C TInt E32Dll(TDllReason /*aReason*/)
       
    36 // Called when the DLL is loaded and unloaded. Note: have to define
       
    37 // epoccalldllentrypoints in MMP file to get this called in THUMB.
       
    38     {
       
    39     return KErrNone;
       
    40     }
       
    41 #endif
       
    42