epoc32/include/logeng.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/logeng.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/logeng.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,94 @@
     1.4 -logeng.h
     1.5 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +#ifndef __LOGENG_H__
    1.21 +#define __LOGENG_H__
    1.22 +
    1.23 +#include <e32std.h>
    1.24 +#include <logwrap.h>
    1.25 +#include <logwrap.hrh>
    1.26 +
    1.27 +/**
    1.28 +Event types
    1.29 +@publishedAll
    1.30 +@released
    1.31 +*/
    1.32 +/** Voice call */
    1.33 +const TUid KLogCallEventTypeUid = {KLogCallEventType};
    1.34 +/** Data call. */
    1.35 +const TUid KLogDataEventTypeUid = {KLogDataEventType};
    1.36 +/** Fax call. */
    1.37 +const TUid KLogFaxEventTypeUid = {KLogFaxEventType};
    1.38 +/** SMS call. */
    1.39 +const TUid KLogShortMessageEventTypeUid = {KLogShortMessageEventType};
    1.40 +/** Email call. */
    1.41 +const TUid KLogMailEventTypeUid = {KLogMailEventType};
    1.42 +/** Task scheduler event. */
    1.43 +const TUid KLogTaskSchedulerEventTypeUid = {KLogTaskSchedulerEventType};
    1.44 +
    1.45 +/**
    1.46 +Event types
    1.47 +@publishedPartner
    1.48 +@released
    1.49 +*/
    1.50 +/** Lbs events. */
    1.51 +const TUid KLogLbsSelfLocateEventTypeUid = {KLogLbsSelfLocateEventType};
    1.52 +const TUid KLogLbsExternalLocateEventTypeUid = {KLogLbsExternalLocateEventType};
    1.53 +const TUid KLogLbsTransmitLocationEventTypeUid = {KLogLbsTransmitLocationEventType};
    1.54 +const TUid KLogLbsNetworkLocateEventTypeUid = {KLogLbsNetworkLocateEventType};
    1.55 +const TUid KLogLbsAssistanceDataEventTypeUid = {KLogLbsAssistanceDataEventType};
    1.56 +
    1.57 +/**
    1.58 +@internalComponent
    1.59 +*/
    1.60 +const TUid KLogPacketDataEventTypeUid = {KLogPacketDataEventType};
    1.61 +
    1.62 +/**
    1.63 +Duration Types
    1.64 +@internalComponent
    1.65 +*/
    1.66 +const TLogDurationType KLogDurationNone = 0;
    1.67 +const TLogDurationType KLogDurationValid = 1;
    1.68 +const TLogDurationType KLogDurationData = 2;
    1.69 + 
    1.70 +/**
    1.71 +Flags
    1.72 +Marks an event as having been "read".
    1.73 +@publishedAll
    1.74 +@released
    1.75 +*/
    1.76 +const TLogFlags KLogEventRead = 0x1;
    1.77 +
    1.78 +/**
    1.79 +@internalComponent
    1.80 +*/
    1.81 +const TLogFlags KLogEventContactSearched = 0x2;
    1.82 +
    1.83 +class TLogSmsPduData
    1.84 +/**
    1.85 +The following should be used to store SMS PDU info in event data
    1.86 +@internalComponent
    1.87 +*/
    1.88 +	{
    1.89 +public:
    1.90 +	TInt iType; // message type;
    1.91 +	TInt iTotal;   //  total number of parts
    1.92 +	TInt iSent;   //  total number of parts sent
    1.93 +	TInt iDelivered;  //  total number of parts delivered to destination
    1.94 +	TInt iFailed;  //  total number of parts failed to be delivered to destination
    1.95 +	TInt iReceived;  //  total number of parts received for DELIVERs or SUBMITs read from the phone/SIM 
    1.96 +	};
    1.97 +
    1.98 +#endif