messagingappbase/mce/group/MceLogEngine.hrh
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 *    Mce log engine ".hrh" file.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef     __Mce_Engine_CMceLogEngine_HRH__
       
    22 #define     __Mce_Engine_CMceLogEngine_HRH__
       
    23 
       
    24 //  DATA TYPES  
       
    25 
       
    26 /// Engine reader's state.
       
    27 enum TMceLogEngineReaderState
       
    28     {
       
    29     EConstructed,
       
    30     ESettingFilter,
       
    31     EReadingEntry,
       
    32     EReadingNextEntry,
       
    33     EDoneReadingAndPassedArrayToModel
       
    34     };
       
    35 
       
    36 ////////////////////////////////////////////////////////////
       
    37 // C++ compilation only section
       
    38 
       
    39 #ifdef __cplusplus
       
    40 
       
    41 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    42 #include <logsmspdudata.h>
       
    43 #endif
       
    44 #include <e32std.h> // TPckgBuf   euser.lib 
       
    45 
       
    46 /**
       
    47  * Type for the event data field.
       
    48  */
       
    49 typedef TPckgBuf<TLogSmsPduData> TLogSmsPduDataBuf;
       
    50 
       
    51 #endif
       
    52 
       
    53 /// The minimum time when changes has to be notified to model.
       
    54 #define KMceLogEngNotifyTime 20000000
       
    55 
       
    56 /// The maximum amount of events that are fetched.
       
    57 #define KMceLogEngFetchLimit 20
       
    58 
       
    59 
       
    60 
       
    61 #endif  // __Mce_Engine_CMceLogEngine_HRH__
       
    62             
       
    63 // End of File