epoc32/include/logeng.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     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
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __LOGENG_H__
    17 #define __LOGENG_H__
    18 
    19 #include <e32std.h>
    20 #include <logwrap.h>
    21 #include <logwrap.hrh>
    22 
    23 /**
    24 Event types
    25 @publishedAll
    26 @released
    27 */
    28 /** Voice call */
    29 const TUid KLogCallEventTypeUid = {KLogCallEventType};
    30 /** Data call. */
    31 const TUid KLogDataEventTypeUid = {KLogDataEventType};
    32 /** Fax call. */
    33 const TUid KLogFaxEventTypeUid = {KLogFaxEventType};
    34 /** SMS call. */
    35 const TUid KLogShortMessageEventTypeUid = {KLogShortMessageEventType};
    36 /** Email call. */
    37 const TUid KLogMailEventTypeUid = {KLogMailEventType};
    38 /** Task scheduler event. */
    39 const TUid KLogTaskSchedulerEventTypeUid = {KLogTaskSchedulerEventType};
    40 
    41 /**
    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
    68 Marks an event as having been "read".
    69 @publishedAll
    70 @released
    71 */
    72 const TLogFlags KLogEventRead = 0x1;
    73 
    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