sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef LOGWRAPCONST_H sl@0: #define LOGWRAPCONST_H sl@0: /** sl@0: Big enough to contain any of the above strings sl@0: Defines a modifiable buffer descriptor into which a standard string from the sl@0: resource in the logwrap.dll resource file can be safely put. sl@0: sl@0: @see CLogClient::GetString() sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TBuf<64> TLogString; sl@0: sl@0: /** sl@0: Type definitions sl@0: The unique event ID associated with a log event. sl@0: sl@0: @see CLogEvent sl@0: @see CLogViewDuplicate sl@0: @see CLogViewRecent sl@0: @see CLogClient sl@0: @see CLogBase sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TInt32 TLogId; sl@0: /** sl@0: The duration type of an event. sl@0: sl@0: @see CLogEvent sl@0: @see CLogFilter sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TInt8 TLogDurationType; sl@0: typedef TInt8 TLogRecentList; sl@0: typedef TUint16 TLogSize; sl@0: typedef TUint8 TLogRecentSize; sl@0: /** sl@0: Duration of an event, expressed as the number of seconds since the time of sl@0: the event. sl@0: sl@0: @see CLogEvent sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TUint32 TLogDuration; sl@0: typedef TUint32 TLogAge; sl@0: /** sl@0: Link value relating a log event to an entity in another application. sl@0: sl@0: @see CLogEvent sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TUint32 TLogLink; sl@0: typedef TInt16 TLogStringId; sl@0: typedef TInt16 TLogTypeId; sl@0: /** sl@0: The duration type of an event. sl@0: sl@0: @see CLogEvent sl@0: @see CLogFilter sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TInt8 TLogDurationType; sl@0: /** sl@0: Event flags. sl@0: sl@0: @see CLogEvent sl@0: @see CLogFilter sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: typedef TUint8 TLogFlags; sl@0: sl@0: #endif