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