loggingservices/eventlogger/LogCli/inc/LOGVIEW.INL
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 13 Oct 2010 16:30:44 +0300
branchRCL_3
changeset 56 839ea9debada
parent 0 08ec8eefde2f
permissions -rw-r--r--
Revision: 201041 Kit: 201041

// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// CLogView
// 
//

inline const CLogEvent& CLogView::Event() const
/** Returns details of the log event at the current position within the view.

@return A reference to the log event details object. If a view does not contain 
any events, then the content of this object is undefined. */
	{
	return *iEvent;
	}

inline TBool CLogView::IsValid() const
	{
	return iValid;
	}

//**********************************
// CLogViewRecent
//**********************************

inline TLogRecentList CLogViewRecent::RecentList() const
/** Gets the recent event list number that identifies the recent event list to 
which the current entry belongs. This is an asynchronous request.

Note that this function is only useful if KLogNullRecentList is passed to 
the SetRecentListL() functions.

@return The recent event list number. */
	{
	return iCurrentList;
	}

//**********************************
// CLogViewDuplicate
//**********************************

inline TLogId CLogViewDuplicate::Source() const
/** Returns the unique ID of the event for which all the events in this view are 
duplicates.

@return The unique event ID. */
	{
	return iSourceId;
	}