epoc32/include/logeng.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    17 #define __LOGENG_H__
    17 #define __LOGENG_H__
    18 
    18 
    19 #include <e32std.h>
    19 #include <e32std.h>
    20 #include <logwrap.h>
    20 #include <logwrap.h>
    21 #include <logwrap.hrh>
    21 #include <logwrap.hrh>
       
    22 
       
    23 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS 
       
    24 	#include <logengdurations.h>
       
    25 	#include <logengevents.h>
       
    26 	#include <logsmspdudata.h>
       
    27 #endif
    22 
    28 
    23 /**
    29 /**
    24 Event types
    30 Event types
    25 @publishedAll
    31 @publishedAll
    26 @released
    32 @released
    37 const TUid KLogMailEventTypeUid = {KLogMailEventType};
    43 const TUid KLogMailEventTypeUid = {KLogMailEventType};
    38 /** Task scheduler event. */
    44 /** Task scheduler event. */
    39 const TUid KLogTaskSchedulerEventTypeUid = {KLogTaskSchedulerEventType};
    45 const TUid KLogTaskSchedulerEventTypeUid = {KLogTaskSchedulerEventType};
    40 
    46 
    41 /**
    47 /**
    42 Event types
       
    43 @publishedPartner
       
    44 @released
       
    45 */
       
    46 /** Lbs events. */
       
    47 const TUid KLogLbsSelfLocateEventTypeUid = {KLogLbsSelfLocateEventType};
       
    48 const TUid KLogLbsExternalLocateEventTypeUid = {KLogLbsExternalLocateEventType};
       
    49 const TUid KLogLbsTransmitLocationEventTypeUid = {KLogLbsTransmitLocationEventType};
       
    50 const TUid KLogLbsNetworkLocateEventTypeUid = {KLogLbsNetworkLocateEventType};
       
    51 const TUid KLogLbsAssistanceDataEventTypeUid = {KLogLbsAssistanceDataEventType};
       
    52 
       
    53 /**
       
    54 @internalComponent
       
    55 */
       
    56 const TUid KLogPacketDataEventTypeUid = {KLogPacketDataEventType};
       
    57 
       
    58 /**
       
    59 Duration Types
       
    60 @internalComponent
       
    61 */
       
    62 const TLogDurationType KLogDurationNone = 0;
       
    63 const TLogDurationType KLogDurationValid = 1;
       
    64 const TLogDurationType KLogDurationData = 2;
       
    65  
       
    66 /**
       
    67 Flags
    48 Flags
    68 Marks an event as having been "read".
    49 Marks an event as having been "read".
    69 @publishedAll
    50 @publishedAll
    70 @released
    51 @released
    71 */
    52 */
    72 const TLogFlags KLogEventRead = 0x1;
    53 const TLogFlags KLogEventRead = 0x1;
    73 
    54 
    74 /**
       
    75 @internalComponent
       
    76 */
       
    77 const TLogFlags KLogEventContactSearched = 0x2;
       
    78 
       
    79 class TLogSmsPduData
       
    80 /**
       
    81 The following should be used to store SMS PDU info in event data
       
    82 @internalComponent
       
    83 */
       
    84 	{
       
    85 public:
       
    86 	TInt iType; // message type;
       
    87 	TInt iTotal;   //  total number of parts
       
    88 	TInt iSent;   //  total number of parts sent
       
    89 	TInt iDelivered;  //  total number of parts delivered to destination
       
    90 	TInt iFailed;  //  total number of parts failed to be delivered to destination
       
    91 	TInt iReceived;  //  total number of parts received for DELIVERs or SUBMITs read from the phone/SIM 
       
    92 	};
       
    93 
       
    94 #endif
    55 #endif