author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:27:01 +0100 | |
branch | Symbian2 |
changeset 3 | e1b950c65cb4 |
parent 0 | 061f57f2323e |
child 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@2 | 1 |
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 2 |
// All rights reserved. |
williamr@2 | 3 |
// This component and the accompanying materials are made available |
williamr@2 | 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 |
williamr@2 | 5 |
// which accompanies this distribution, and is available |
williamr@2 | 6 |
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
williamr@2 | 7 |
// |
williamr@2 | 8 |
// Initial Contributors: |
williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
williamr@2 | 10 |
// |
williamr@2 | 11 |
// Contributors: |
williamr@2 | 12 |
// |
williamr@2 | 13 |
// Description: |
williamr@2 | 14 |
// |
williamr@2 | 15 |
|
williamr@2 | 16 |
#ifndef __LOGENG_H__ |
williamr@2 | 17 |
#define __LOGENG_H__ |
williamr@2 | 18 |
|
williamr@2 | 19 |
#include <e32std.h> |
williamr@2 | 20 |
#include <logwrap.h> |
williamr@2 | 21 |
#include <logwrap.hrh> |
williamr@2 | 22 |
|
williamr@2 | 23 |
/** |
williamr@2 | 24 |
Event types |
williamr@2 | 25 |
@publishedAll |
williamr@2 | 26 |
@released |
williamr@2 | 27 |
*/ |
williamr@2 | 28 |
/** Voice call */ |
williamr@2 | 29 |
const TUid KLogCallEventTypeUid = {KLogCallEventType}; |
williamr@2 | 30 |
/** Data call. */ |
williamr@2 | 31 |
const TUid KLogDataEventTypeUid = {KLogDataEventType}; |
williamr@2 | 32 |
/** Fax call. */ |
williamr@2 | 33 |
const TUid KLogFaxEventTypeUid = {KLogFaxEventType}; |
williamr@2 | 34 |
/** SMS call. */ |
williamr@2 | 35 |
const TUid KLogShortMessageEventTypeUid = {KLogShortMessageEventType}; |
williamr@2 | 36 |
/** Email call. */ |
williamr@2 | 37 |
const TUid KLogMailEventTypeUid = {KLogMailEventType}; |
williamr@2 | 38 |
/** Task scheduler event. */ |
williamr@2 | 39 |
const TUid KLogTaskSchedulerEventTypeUid = {KLogTaskSchedulerEventType}; |
williamr@2 | 40 |
|
williamr@2 | 41 |
/** |
williamr@2 | 42 |
Event types |
williamr@2 | 43 |
@publishedPartner |
williamr@2 | 44 |
@released |
williamr@2 | 45 |
*/ |
williamr@2 | 46 |
/** Lbs events. */ |
williamr@2 | 47 |
const TUid KLogLbsSelfLocateEventTypeUid = {KLogLbsSelfLocateEventType}; |
williamr@2 | 48 |
const TUid KLogLbsExternalLocateEventTypeUid = {KLogLbsExternalLocateEventType}; |
williamr@2 | 49 |
const TUid KLogLbsTransmitLocationEventTypeUid = {KLogLbsTransmitLocationEventType}; |
williamr@2 | 50 |
const TUid KLogLbsNetworkLocateEventTypeUid = {KLogLbsNetworkLocateEventType}; |
williamr@2 | 51 |
const TUid KLogLbsAssistanceDataEventTypeUid = {KLogLbsAssistanceDataEventType}; |
williamr@2 | 52 |
|
williamr@2 | 53 |
/** |
williamr@2 | 54 |
@internalComponent |
williamr@2 | 55 |
*/ |
williamr@2 | 56 |
const TUid KLogPacketDataEventTypeUid = {KLogPacketDataEventType}; |
williamr@2 | 57 |
|
williamr@2 | 58 |
/** |
williamr@2 | 59 |
Duration Types |
williamr@2 | 60 |
@internalComponent |
williamr@2 | 61 |
*/ |
williamr@2 | 62 |
const TLogDurationType KLogDurationNone = 0; |
williamr@2 | 63 |
const TLogDurationType KLogDurationValid = 1; |
williamr@2 | 64 |
const TLogDurationType KLogDurationData = 2; |
williamr@2 | 65 |
|
williamr@2 | 66 |
/** |
williamr@2 | 67 |
Flags |
williamr@2 | 68 |
Marks an event as having been "read". |
williamr@2 | 69 |
@publishedAll |
williamr@2 | 70 |
@released |
williamr@2 | 71 |
*/ |
williamr@2 | 72 |
const TLogFlags KLogEventRead = 0x1; |
williamr@2 | 73 |
|
williamr@2 | 74 |
/** |
williamr@2 | 75 |
@internalComponent |
williamr@2 | 76 |
*/ |
williamr@2 | 77 |
const TLogFlags KLogEventContactSearched = 0x2; |
williamr@2 | 78 |
|
williamr@2 | 79 |
class TLogSmsPduData |
williamr@2 | 80 |
/** |
williamr@2 | 81 |
The following should be used to store SMS PDU info in event data |
williamr@2 | 82 |
@internalComponent |
williamr@2 | 83 |
*/ |
williamr@2 | 84 |
{ |
williamr@2 | 85 |
public: |
williamr@2 | 86 |
TInt iType; // message type; |
williamr@2 | 87 |
TInt iTotal; // total number of parts |
williamr@2 | 88 |
TInt iSent; // total number of parts sent |
williamr@2 | 89 |
TInt iDelivered; // total number of parts delivered to destination |
williamr@2 | 90 |
TInt iFailed; // total number of parts failed to be delivered to destination |
williamr@2 | 91 |
TInt iReceived; // total number of parts received for DELIVERs or SUBMITs read from the phone/SIM |
williamr@2 | 92 |
}; |
williamr@2 | 93 |
|
williamr@2 | 94 |
#endif |