1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/logwrapconst.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,93 @@
1.4 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +#ifndef LOGWRAPCONST_H
1.20 +#define LOGWRAPCONST_H
1.21 +/**
1.22 +Big enough to contain any of the above strings
1.23 +Defines a modifiable buffer descriptor into which a standard string from the
1.24 +resource in the logwrap.dll resource file can be safely put.
1.25 +
1.26 +@see CLogClient::GetString()
1.27 +@publishedAll
1.28 +@released
1.29 +*/
1.30 +typedef TBuf<64> TLogString;
1.31 +
1.32 +/**
1.33 +Type definitions
1.34 +The unique event ID associated with a log event.
1.35 +
1.36 +@see CLogEvent
1.37 +@see CLogViewDuplicate
1.38 +@see CLogViewRecent
1.39 +@see CLogClient
1.40 +@see CLogBase
1.41 +@publishedAll
1.42 +@released
1.43 +*/
1.44 +typedef TInt32 TLogId;
1.45 +/**
1.46 +The duration type of an event.
1.47 +
1.48 +@see CLogEvent
1.49 +@see CLogFilter
1.50 +@publishedAll
1.51 +@released
1.52 +*/
1.53 +typedef TInt8 TLogDurationType;
1.54 +typedef TInt8 TLogRecentList;
1.55 +typedef TUint16 TLogSize;
1.56 +typedef TUint8 TLogRecentSize;
1.57 +/**
1.58 +Duration of an event, expressed as the number of seconds since the time of
1.59 +the event.
1.60 +
1.61 +@see CLogEvent
1.62 +@publishedAll
1.63 +@released
1.64 +*/
1.65 +typedef TUint32 TLogDuration;
1.66 +typedef TUint32 TLogAge;
1.67 +/**
1.68 +Link value relating a log event to an entity in another application.
1.69 +
1.70 +@see CLogEvent
1.71 +@publishedAll
1.72 +@released
1.73 +*/
1.74 +typedef TUint32 TLogLink;
1.75 +typedef TInt16 TLogStringId;
1.76 +typedef TInt16 TLogTypeId;
1.77 +/**
1.78 +The duration type of an event.
1.79 +
1.80 +@see CLogEvent
1.81 +@see CLogFilter
1.82 +@publishedAll
1.83 +@released
1.84 +*/
1.85 +typedef TInt8 TLogDurationType;
1.86 +/**
1.87 +Event flags.
1.88 +
1.89 +@see CLogEvent
1.90 +@see CLogFilter
1.91 +@publishedAll
1.92 +@released
1.93 +*/
1.94 +typedef TUint8 TLogFlags;
1.95 +
1.96 +#endif