messagingappbase/mcesettings/inc/DllMain.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 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:  
       
    15 *     DLL internal functions and types implementation for Mce Settings.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef     __DllMain_H__
       
    22 #define     __DllMain_H__
       
    23 
       
    24 
       
    25 //  INCLUDES
       
    26 
       
    27 #include <e32std.h>
       
    28 
       
    29 // MACROS
       
    30 
       
    31 /**
       
    32  * Convert millimetres to twips.
       
    33  */
       
    34 #define MM2TWIPS(mm) ((4000*(mm))/254)
       
    35 
       
    36 // DATA TYPES
       
    37 
       
    38 // FUNCTION PROTOTYPES
       
    39 
       
    40 /**
       
    41  * Stop the program execution with module specific text and error code.
       
    42  * Call if an unrecoverable error occurs in this module's code.
       
    43  *
       
    44  * @param aCode     error code
       
    45  *
       
    46  * 
       
    47  */
       
    48 void Panic( TInt aCode );
       
    49 
       
    50 
       
    51 #endif // __DllMain_H__
       
    52 
       
    53 // End of file